From 1cd2a89bd82a3c35dc4fd21d32211d8f81817050 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Fri, 13 Jun 2025 04:11:39 +0200 Subject: Fix implicit instantiation of undefined template 'std::char_traits' on FreeBSD. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282329 --- 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 07adf71d18..bb6d091a97 100644 --- a/indra/llcommon/llstring.cpp +++ b/indra/llcommon/llstring.cpp @@ -260,7 +260,7 @@ S32 utf16str_wstring_length(const llutf16string &utf16str, const S32 utf16_len) { S32 surrogate_pairs = 0; // ... craziness to make gcc happy (llutf16string.c_str() is tweaked on linux): - const U16 *const utf16_chars = &(*(utf16str.begin())); + const auto *const utf16_chars = &(*(utf16str.begin())); S32 i = 0; while (i < utf16_len) { -- cgit v1.2.3