aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-10-11 11:25:43 +0200
committerMartin Ridgers <[email protected]>2021-10-11 11:25:43 +0200
commit859e08f3f0e261148e5de88701243b1044010058 (patch)
tree6cf682e76b4932e429d57f5acb224648620fee28 /zencore/include
parentAdded a ZEN_SIZEOF_WCHAR_T define (diff)
downloadzen-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.h2
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<<;
};