aboutsummaryrefslogtreecommitdiff
path: root/src/win/debug_logger.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/win/debug_logger.hpp')
-rw-r--r--src/win/debug_logger.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/win/debug_logger.hpp b/src/win/debug_logger.hpp
index c5321828..b6694279 100644
--- a/src/win/debug_logger.hpp
+++ b/src/win/debug_logger.hpp
@@ -15,6 +15,8 @@ class WinDebugLoggerSource : public ::cru::log::ILogSource {
~WinDebugLoggerSource() = default;
void Write(::cru::log::LogLevel level, const std::string_view& s) override {
+ CRU_UNUSED(level)
+
const std::wstring&& ws = ToUtf16String(s);
::OutputDebugStringW(ws.data());
}