diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-07-02 13:25:52 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-07-02 13:25:52 -0400 |
commit | b6a72ac2c4498ea52691d79b32d1bf763952d3ee (patch) | |
tree | 412142ca0a88f13ab81459354e7a5e6f395d17a4 /indra/llcommon/fsyspath.h | |
parent | 3961bac0ef705775883a4b37f2b6a84e41b82c05 (diff) | |
parent | 14a05ec7ac2e2df5886e4dc7ae33ce57a4272b8d (diff) |
Merge branch 'release/luau-scripting' into lua-appearance-listener
Diffstat (limited to 'indra/llcommon/fsyspath.h')
-rw-r--r-- | indra/llcommon/fsyspath.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llcommon/fsyspath.h b/indra/llcommon/fsyspath.h index aa4e0132bc..3c749d84de 100644 --- a/indra/llcommon/fsyspath.h +++ b/indra/llcommon/fsyspath.h @@ -69,6 +69,11 @@ public: // shadow base-class string() method with UTF-8 aware method std::string string() const { return super::u8string(); } + // 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 + // doesn't have operator std::string(). Provide it. + operator std::string() const { return string(); } }; #endif /* ! defined(LL_FSYSPATH_H) */ |