From ced1a63686e6c64cb574d74a34d1bbd07d0a668e Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 21 Feb 2022 18:44:40 +0800 Subject: ... --- src/win/gui/Cursor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/win/gui/Cursor.cpp') diff --git a/src/win/gui/Cursor.cpp b/src/win/gui/Cursor.cpp index 1d421b59..d85ba565 100644 --- a/src/win/gui/Cursor.cpp +++ b/src/win/gui/Cursor.cpp @@ -1,6 +1,6 @@ #include "cru/win/gui/Cursor.h" -#include "cru/common/Logger.h" +#include "cru/common/log/Logger.h" #include "cru/win/gui/Exception.h" #include @@ -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. - log::TagWarn(log_tag, u"Failed to destroy a cursor. Last error code: {}", + CRU_LOG_WARN(u"Failed to destroy a cursor. Last error code: {}", ::GetLastError()); } } -- cgit v1.2.3