Fix undefined reference to `operator<<(std::ostream&, wchar_t const*)' (issue #2553)
This commit is contained in:
parent
406e347d6f
commit
359a5b7cb5
|
@ -253,6 +253,9 @@ ErrnoLogMessage::~ErrnoLogMessage() {
|
||||||
}
|
}
|
||||||
#endif // OS_WIN
|
#endif // OS_WIN
|
||||||
|
|
||||||
|
} // namespace logging
|
||||||
|
} // namespace cef
|
||||||
|
|
||||||
std::ostream& operator<<(std::ostream& out, const wchar_t* wstr) {
|
std::ostream& operator<<(std::ostream& out, const wchar_t* wstr) {
|
||||||
cef_string_utf8_t str = {0};
|
cef_string_utf8_t str = {0};
|
||||||
std::wstring tmp_str(wstr);
|
std::wstring tmp_str(wstr);
|
||||||
|
@ -261,6 +264,3 @@ std::ostream& operator<<(std::ostream& out, const wchar_t* wstr) {
|
||||||
cef_string_utf8_clear(&str);
|
cef_string_utf8_clear(&str);
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace logging
|
|
||||||
} // namespace cef
|
|
||||||
|
|
Loading…
Reference in New Issue