summaryrefslogtreecommitdiff
path: root/indra/llui/llluafloater.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2024-03-21 22:05:37 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2024-03-21 22:05:37 +0200
commit7b149485e091880269dd9d7941cca47da49e652f (patch)
tree7e454bea1e48bf34ccc97e599967944c44a1e644 /indra/llui/llluafloater.cpp
parent4ffdae72392ba2f081edf8d740b688b95ac4fc65 (diff)
mac build fix
Diffstat (limited to 'indra/llui/llluafloater.cpp')
-rw-r--r--indra/llui/llluafloater.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llui/llluafloater.cpp b/indra/llui/llluafloater.cpp
index 23a336a1e8..afc287a864 100644
--- a/indra/llui/llluafloater.cpp
+++ b/indra/llui/llluafloater.cpp
@@ -66,15 +66,15 @@ LLLuaFloater::LLLuaFloater(const LLSD &key) :
};
LLSD requiredParams = llsd::map("ctrl_name", LLSD(), "value", LLSD());
- mDispatchListener.add("set_enabled", "", [this, ctrl_lookup](const LLSD &event)
+ mDispatchListener.add("set_enabled", "", [ctrl_lookup](const LLSD &event)
{
return ctrl_lookup(event, [](LLUICtrl *ctrl, const LLSD &event) { ctrl->setEnabled(event["value"].asBoolean()); return LLSD(); });
}, requiredParams);
- mDispatchListener.add("set_visible", "", [this, ctrl_lookup](const LLSD &event)
+ mDispatchListener.add("set_visible", "", [ctrl_lookup](const LLSD &event)
{
return ctrl_lookup(event, [](LLUICtrl *ctrl, const LLSD &event) { ctrl->setVisible(event["value"].asBoolean()); return LLSD(); });
}, requiredParams);
- mDispatchListener.add("set_value", "", [this, ctrl_lookup](const LLSD &event)
+ mDispatchListener.add("set_value", "", [ctrl_lookup](const LLSD &event)
{
return ctrl_lookup(event, [](LLUICtrl *ctrl, const LLSD &event) { ctrl->setValue(event["value"]); return LLSD(); });
}, requiredParams);
@@ -104,7 +104,7 @@ LLLuaFloater::LLLuaFloater(const LLSD &key) :
setTitle(event["value"].asString());
}, llsd::map("value", LLSD()));
- mDispatchListener.add("get_value", "", [this, ctrl_lookup](const LLSD &event)
+ mDispatchListener.add("get_value", "", [ctrl_lookup](const LLSD &event)
{
return ctrl_lookup(event, [](LLUICtrl *ctrl, const LLSD &event) { return llsd::map("value", ctrl->getValue()); });
}, llsd::map("ctrl_name", LLSD(), "reqid", LLSD()));