summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerwindow.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2025-12-01 20:03:07 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-12-01 22:06:48 +0200
commitc6f1b725bfb45af31182771a445edc3bac9cbeac (patch)
tree339ab0816bcd0e483bcbef326f978be843eba815 /indra/newview/llviewerwindow.cpp
parent906c58ac3821ce364096b7c7f2df80b67d9740b6 (diff)
#5078 MacOS Build fix
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r--indra/newview/llviewerwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index 692e192edb..c474bff2dc 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -1884,7 +1884,8 @@ LLViewerWindow::LLViewerWindow(const Params& p)
// pass its value right now. Instead, pass it a nullary function that
// will, when we later need it, return the value of gKeyboard.
// boost::lambda::var() constructs such a functor on the fly.
- mWindowListener = std::make_unique<LLWindowListener>(this, boost::lambda::var(gKeyboard));
+ LLWindowListener::KeyboardGetter getter = [](){ return gKeyboard; };
+ mWindowListener = std::make_unique<LLWindowListener>(this, getter);
mViewerWindowListener = std::make_unique<LLViewerWindowListener>(this);
mSystemChannel.reset(new LLNotificationChannel("System", "Visible", LLNotificationFilters::includeEverything));