summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llluamanager.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llluamanager.cpp b/indra/newview/llluamanager.cpp
index d7893ce863..26e29a4ae1 100644
--- a/indra/newview/llluamanager.cpp
+++ b/indra/newview/llluamanager.cpp
@@ -106,7 +106,8 @@ public:
super(getUniqueKey()),
mState(L),
mReplyPump(LLUUID::generateNewID().asString()),
- mListener(new LLLeapListener(std::bind(&LuaListener::connect, this, _1, _2)))
+ mListener(new LLLeapListener(std::bind(&LuaListener::connect, this,
+ std::placeholders::_1, std::placeholders::_2)))
{
mReplyConnection = connect(mReplyPump, "LuaListener");
}
@@ -133,7 +134,8 @@ private:
LLBoundListener connect(LLEventPump& pump, const std::string& listener)
{
return pump.listen(listener,
- std::bind(&LuaListener::call_lua, mState, pump.getName(), _1));
+ std::bind(&LuaListener::call_lua, mState, pump.getName(),
+ std::placeholders::_1));
}
static bool call_lua(lua_State* L, const std::string& pump, const LLSD& data)