From a0403d95bea3e3a3eaedf71a0d9c6d4e1316bd8c Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Sun, 7 Sep 2025 11:46:11 +0800 Subject: Use std::string in logger. --- src/platform/gui/win/Cursor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/platform/gui/win/Cursor.cpp') diff --git a/src/platform/gui/win/Cursor.cpp b/src/platform/gui/win/Cursor.cpp index e6cce5b9..24e9c2fc 100644 --- a/src/platform/gui/win/Cursor.cpp +++ b/src/platform/gui/win/Cursor.cpp @@ -16,7 +16,7 @@ WinCursor::~WinCursor() { if (!::DestroyCursor(handle_)) { // This is not a fetal error but might still need notice because it may // cause leak. - CRU_LOG_TAG_WARN(u"Failed to destroy a cursor. Last error code: {}", + CRU_LOG_TAG_WARN("Failed to destroy a cursor. Last error code: {}", ::GetLastError()); } } -- cgit v1.2.3