File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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));
You can’t perform that action at this time.
0 commit comments