diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-07-05 19:18:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-05 19:18:09 +0300 |
commit | 958f7812839160247207c01e78b90f1935022ab3 (patch) | |
tree | 6ec615eb07b26a2ac2b07d747515847f8fdad0bd /indra/llui | |
parent | b099dbef27f2af47a421bb9848cfbca1aaa08327 (diff) | |
parent | 1296afd96a74877feb91690ec8dcd99b225554b8 (diff) |
Merge pull request #1930 from RyeMutt/llsd-opts
Introduce move support and string_view to LLSD
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llnotifications.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llnotifications.cpp b/indra/llui/llnotifications.cpp index 8a73148631..cd80e7f63f 100644 --- a/indra/llui/llnotifications.cpp +++ b/indra/llui/llnotifications.cpp @@ -861,7 +861,7 @@ void LLNotification::init(const std::string& template_name, const LLSD& form_ele for (LLStringUtil::format_map_t::const_iterator iter = default_args.begin(); iter != default_args.end(); ++iter) { - mSubstitutions[iter->first] = iter->second; + mSubstitutions[std::string(iter->first)] = iter->second; } mSubstitutions["_URL"] = getURL(); mSubstitutions["_NAME"] = template_name; |