summaryrefslogtreecommitdiff
path: root/indra/llinventory/llsettingsbase.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-07-12 15:34:18 +0800
committerErik Kundiman <erik@megapahit.org>2023-07-19 12:42:44 +0800
commit008a46e3080e811fe5e34607c0c4cceb77d829d5 (patch)
tree29ff90415fbf388d45d49d4227021e7e0128ea29 /indra/llinventory/llsettingsbase.cpp
parent6ec16974e5dcf5f9142ac4d54c4b7fb7f6366e3d (diff)
Explicitly mean to use boost:placeholders
Otherwise _1 and _2 would be considered undeclared in many places.
Diffstat (limited to 'indra/llinventory/llsettingsbase.cpp')
-rw-r--r--indra/llinventory/llsettingsbase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llinventory/llsettingsbase.cpp b/indra/llinventory/llsettingsbase.cpp
index 936b166409..7ca9d6b8cc 100644
--- a/indra/llinventory/llsettingsbase.cpp
+++ b/indra/llinventory/llsettingsbase.cpp
@@ -395,6 +395,7 @@ bool LLSettingsBase::validate()
LLSD LLSettingsBase::settingValidation(LLSD &settings, validation_list_t &validations, bool partial)
{
+ using boost::placeholders::_1, boost::placeholders::_2;
static Validator validateName(SETTING_NAME, false, LLSD::TypeString, boost::bind(&Validator::verifyStringLength, _1, _2, 63));
static Validator validateId(SETTING_ID, false, LLSD::TypeUUID);
static Validator validateHash(SETTING_HASH, false, LLSD::TypeInteger);