aboutsummaryrefslogtreecommitdiff
path: root/src/win/native/GodWindow.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-06-29 00:31:21 +0800
committercrupest <crupest@outlook.com>2020-06-29 00:31:21 +0800
commit5c3dae62b9218dbd2493ff6390db062013ca4bdc (patch)
tree3425a9efa118eaf89627e6903cecb50a3daedb1d /src/win/native/GodWindow.cpp
parent6b5aff7b7e50fae15cb010b340099163725f664c (diff)
downloadcru-5c3dae62b9218dbd2493ff6390db062013ca4bdc.tar.gz
cru-5c3dae62b9218dbd2493ff6390db062013ca4bdc.tar.bz2
cru-5c3dae62b9218dbd2493ff6390db062013ca4bdc.zip
...
Diffstat (limited to 'src/win/native/GodWindow.cpp')
-rw-r--r--src/win/native/GodWindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/win/native/GodWindow.cpp b/src/win/native/GodWindow.cpp
index 076954d4..8ef2788e 100644
--- a/src/win/native/GodWindow.cpp
+++ b/src/win/native/GodWindow.cpp
@@ -1,11 +1,11 @@
#include "cru/win/native/GodWindow.hpp"
+#include "GodWindowMessage.hpp"
+#include "Timer.hpp"
#include "cru/common/Logger.hpp"
#include "cru/win/native/Exception.hpp"
#include "cru/win/native/UiApplication.hpp"
#include "cru/win/native/WindowClass.hpp"
-#include "GodWindowMessage.hpp"
-#include "Timer.hpp"
namespace cru::platform::native::win {
constexpr auto god_window_class_name = L"GodWindowClass";
@@ -45,7 +45,7 @@ GodWindow::GodWindow(WinUiApplication* application) {
GodWindow::~GodWindow() {
if (!::DestroyWindow(hwnd_)) {
// Although this could be "safely" ignore.
- log::Warn("Failed to destroy god window.");
+ log::TagWarn(log_tag, "Failed to destroy god window.");
}
}