aboutsummaryrefslogtreecommitdiff
path: root/src/win/gui/Cursor.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-02-21 18:44:40 +0800
committercrupest <crupest@outlook.com>2022-02-21 18:44:40 +0800
commitced1a63686e6c64cb574d74a34d1bbd07d0a668e (patch)
tree4082e4689e5e7cede8d59a0538d0f1ae37064acb /src/win/gui/Cursor.cpp
parent6b00fca7c662301bf657a99cb1e89f21541a46bc (diff)
downloadcru-ced1a63686e6c64cb574d74a34d1bbd07d0a668e.tar.gz
cru-ced1a63686e6c64cb574d74a34d1bbd07d0a668e.tar.bz2
cru-ced1a63686e6c64cb574d74a34d1bbd07d0a668e.zip
...
Diffstat (limited to 'src/win/gui/Cursor.cpp')
-rw-r--r--src/win/gui/Cursor.cpp4
1 files changed, 2 insertions, 2 deletions
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 <stdexcept>
@@ -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());
}
}