diff options
Diffstat (limited to 'src/base/platform/win/DebugLogTarget.cpp')
| -rw-r--r-- | src/base/platform/win/DebugLogTarget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/platform/win/DebugLogTarget.cpp b/src/base/platform/win/DebugLogTarget.cpp index 3b73b332..d6dc1d95 100644 --- a/src/base/platform/win/DebugLogTarget.cpp +++ b/src/base/platform/win/DebugLogTarget.cpp @@ -6,7 +6,7 @@ namespace cru::platform::win { void WinDebugLogTarget::Write(::cru::log::LogLevel level, std::string s) { CRU_UNUSED(level) - std::wstring m = string::ToUtf16(s); + std::wstring m = string::ToUtf16WString(s); ::OutputDebugStringW(reinterpret_cast<const wchar_t*>(m.c_str())); } } // namespace cru::platform::win |
