From 5c3dae62b9218dbd2493ff6390db062013ca4bdc Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 29 Jun 2020 00:31:21 +0800 Subject: ... --- src/win/DebugLogger.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/win/DebugLogger.hpp') diff --git a/src/win/DebugLogger.hpp b/src/win/DebugLogger.hpp index 381803bc..4ca1567b 100644 --- a/src/win/DebugLogger.hpp +++ b/src/win/DebugLogger.hpp @@ -14,7 +14,7 @@ class WinDebugLoggerSource : public ::cru::log::ILogSource { ~WinDebugLoggerSource() = default; - void Write(::cru::log::LogLevel level, const std::string_view& s) override { + void Write(::cru::log::LogLevel level, std::string_view s) override { CRU_UNUSED(level) const std::wstring&& ws = ToUtf16String(s); -- cgit v1.2.3