summaryrefslogtreecommitdiff
path: root/indra/llcommon/llstring.cpp
diff options
context:
space:
mode:
authorKyler Eastridge <felix.wolfz@gmail.com>2026-01-13 18:13:33 -0500
committerleviathan <leviathan@lindenlab.com>2026-10-16 13:14:36 -0700
commit22ab2bc3b1e7bf6dc2db584778fa0d4ecafe1e29 (patch)
treec5f76ec9e2cd6f2a8f51e292481d048325ff46ec /indra/llcommon/llstring.cpp
parent8e653b8c63da543a07ffcc3e51ebf08a2375be11 (diff)
Change parameter type to const reference in getDatetimeCode
Diffstat (limited to 'indra/llcommon/llstring.cpp')
-rw-r--r--indra/llcommon/llstring.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llstring.cpp b/indra/llcommon/llstring.cpp
index ab4d724ae4..892671099e 100644
--- a/indra/llcommon/llstring.cpp
+++ b/indra/llcommon/llstring.cpp
@@ -1119,7 +1119,7 @@ void LLStringOps::setupDayFormat(const std::string& data)
}
-std::string LLStringOps::getDatetimeCode(std::string key)
+std::string LLStringOps::getDatetimeCode(const std::string& key)
{
std::map<std::string, std::string>::iterator iter = datetimeToCodes.find(key);
return iter == datetimeToCodes.end() ? LLStringUtil::null : iter->second;