From c0c7488bf505da4755ec6bde4362d3818190e6e2 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Wed, 13 Feb 2019 17:30:04 -0500 Subject: [PATCH] Fix undefined reference to `operator<<(std::ostream&, wchar_t const*)' (issue #2553) --- libcef_dll/base/cef_logging.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libcef_dll/base/cef_logging.cc b/libcef_dll/base/cef_logging.cc index 2d4cf852b..ef8305b54 100644 --- a/libcef_dll/base/cef_logging.cc +++ b/libcef_dll/base/cef_logging.cc @@ -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