diff options
| author | Martin Ridgers <[email protected]> | 2021-10-11 11:25:43 +0200 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-10-11 11:25:43 +0200 |
| commit | 859e08f3f0e261148e5de88701243b1044010058 (patch) | |
| tree | 6cf682e76b4932e429d57f5acb224648620fee28 /zencore/include | |
| parent | Added a ZEN_SIZEOF_WCHAR_T define (diff) | |
| download | zen-859e08f3f0e261148e5de88701243b1044010058.tar.xz zen-859e08f3f0e261148e5de88701243b1044010058.zip | |
Replaced use of std::u16string* with std::wstring*
Diffstat (limited to 'zencore/include')
| -rw-r--r-- | zencore/include/zencore/string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/include/zencore/string.h b/zencore/include/zencore/string.h index c205b199d..9f1bc39d0 100644 --- a/zencore/include/zencore/string.h +++ b/zencore/include/zencore/string.h @@ -424,7 +424,7 @@ public: inline std::wstring_view ToView() const { return std::wstring_view{Data(), Size()}; } inline std::wstring toString() const { return std::wstring{Data(), Size()}; } - inline StringBuilderImpl& operator<<(const std::u16string_view str) { return Append((const wchar_t*)str.data(), str.size()); } + inline StringBuilderImpl& operator<<(const std::wstring_view str) { return Append((const wchar_t*)str.data(), str.size()); } inline StringBuilderImpl& operator<<(const wchar_t* str) { return Append(str); } using StringBuilderImpl:: operator<<; }; |