summaryrefslogtreecommitdiff
path: root/indra/llcommon/llstring.cpp
diff options
context:
space:
mode:
authorAnsariel <ansariel.hiller@phoenixviewer.com>2024-05-24 03:25:28 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-05-24 13:55:38 +0300
commit2696b3de088877c3a406e817ed232c252700a16c (patch)
treef58753bc008245c035813ddf05806bc0366a6ed9 /indra/llcommon/llstring.cpp
parent6377610f6587989c126b00f490dfc8d527a1c2ce (diff)
Introduce LLWStringView to prevent unnecessary memory allocations
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 bbb6aa2c20..5df0f8702d 100644
--- a/indra/llcommon/llstring.cpp
+++ b/indra/llcommon/llstring.cpp
@@ -758,7 +758,7 @@ std::string utf8str_showBytesUTF8(const std::string& utf8str)
}
// Search for any emoji symbol, return true if found
-bool wstring_has_emoji(const LLWString& wstr)
+bool wstring_has_emoji(LLWStringView wstr)
{
for (const llwchar& wch : wstr)
{