Skip to content

Commit c6f1b72

Browse files
committed
#5078 MacOS Build fix
1 parent 906c58a commit c6f1b72

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

indra/newview/llviewerwindow.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1884,7 +1884,8 @@ LLViewerWindow::LLViewerWindow(const Params& p)
18841884
// pass its value right now. Instead, pass it a nullary function that
18851885
// will, when we later need it, return the value of gKeyboard.
18861886
// boost::lambda::var() constructs such a functor on the fly.
1887-
mWindowListener = std::make_unique<LLWindowListener>(this, boost::lambda::var(gKeyboard));
1887+
LLWindowListener::KeyboardGetter getter = [](){ return gKeyboard; };
1888+
mWindowListener = std::make_unique<LLWindowListener>(this, getter);
18881889
mViewerWindowListener = std::make_unique<LLViewerWindowListener>(this);
18891890

18901891
mSystemChannel.reset(new LLNotificationChannel("System", "Visible", LLNotificationFilters::includeEverything));

0 commit comments

Comments
 (0)