From 22ab2bc3b1e7bf6dc2db584778fa0d4ecafe1e29 Mon Sep 17 00:00:00 2001 From: Kyler Eastridge Date: Tue, 13 Jan 2026 18:13:33 -0500 Subject: Change parameter type to const reference in getDatetimeCode --- indra/llcommon/llstring.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/llcommon/llstring.cpp') 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::iterator iter = datetimeToCodes.find(key); return iter == datetimeToCodes.end() ? LLStringUtil::null : iter->second; -- cgit v1.3