Commit 359a5b7c authored by Marshall Greenblatt's avatar Marshall Greenblatt
Browse files

Fix undefined reference to `operator<<(std::ostream&, wchar_t const*)' (issue #2553)

parent 406e347d
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment