Skip to content

Commit f7bef3a

Browse files
committed
Fixed shadowing in glvis.cpp.
1 parent 03f7a40 commit f7bef3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

glvis.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ class Session
9595

9696
void StartSession()
9797
{
98-
auto funcThread = [](Window win, StreamCollection is)
98+
auto funcThread = [](Window w, StreamCollection is)
9999
{
100-
if (win.GLVisInitVis(std::move(is)))
100+
if (w.GLVisInitVis(std::move(is)))
101101
{
102-
win.GLVisStartVis();
102+
w.GLVisStartVis();
103103
}
104104
};
105105
handler = std::thread {funcThread,

0 commit comments

Comments
 (0)