diff options
Diffstat (limited to 'base/string16.cc')
-rw-r--r-- | base/string16.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/base/string16.cc b/base/string16.cc index 2a7ec9c..a47a147 100644 --- a/base/string16.cc +++ b/base/string16.cc @@ -13,6 +13,8 @@ #elif defined(WCHAR_T_IS_UTF32) +#include "base/string_util.h" + namespace base { int c16memcmp(const char16* s1, const char16* s2, size_t n) { @@ -65,4 +67,8 @@ char16* c16memset(char16* s, char16 c, size_t n) { } // namespace base +std::ostream& operator<<(std::ostream& out, const string16& str) { + return out << UTF16ToUTF8(str); +} + #endif // WCHAR_T_IS_UTF32 |