diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2025-02-13 16:13:50 +0200 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2025-02-13 17:30:08 +0200 |
commit | ddbe1ff98159e5eae3153067e3ca6f90c10bceb4 (patch) | |
tree | b9fc2319c2cdd1f96e3cd01b7668c349970dbbbb /indra/llcommon/fsyspath.h | |
parent | 646d0779bd81feefbcf64fc9e8f129b94ce91117 (diff) |
Fix xcode16 build errors
Diffstat (limited to 'indra/llcommon/fsyspath.h')
-rw-r--r-- | indra/llcommon/fsyspath.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llcommon/fsyspath.h b/indra/llcommon/fsyspath.h index 1b4aec09b4..e9c96edce3 100644 --- a/indra/llcommon/fsyspath.h +++ b/indra/llcommon/fsyspath.h @@ -68,7 +68,11 @@ public: } // shadow base-class string() method with UTF-8 aware method - std::string string() const { return super::u8string(); } + std::string string() const + { + auto u8 = super::u8string(); + return std::string(u8.begin(), u8.end()); + } // On Posix systems, where value_type is already char, this operator // std::string() method shadows the base class operator string_type() // method. But on Windows, where value_type is wchar_t, the base class |