mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix undefined reference to `operator<<(std::ostream&, wchar_t const*)' (issue #2553)
This commit is contained in:
@@ -253,6 +253,9 @@ ErrnoLogMessage::~ErrnoLogMessage() {
|
||||
}
|
||||
#endif // OS_WIN
|
||||
|
||||
} // namespace logging
|
||||
} // namespace cef
|
||||
|
||||
std::ostream& operator<<(std::ostream& out, const wchar_t* wstr) {
|
||||
cef_string_utf8_t str = {0};
|
||||
std::wstring tmp_str(wstr);
|
||||
@@ -261,6 +264,3 @@ std::ostream& operator<<(std::ostream& out, const wchar_t* wstr) {
|
||||
cef_string_utf8_clear(&str);
|
||||
return out;
|
||||
}
|
||||
|
||||
} // namespace logging
|
||||
} // namespace cef
|
||||
|
Reference in New Issue
Block a user