aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls/Control.cpp
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-12-05 20:49:10 +0800
committerYuqian Yang <crupest@crupest.life>2025-12-05 20:49:10 +0800
commitf5c801de04f423269d9cefa3d725b52b87c7a0b9 (patch)
tree51bbda6cf58cdd0a6d9128d073ad00c9337680aa /src/ui/controls/Control.cpp
parent5edaa008efabb1b97446bed2f6b542cf01eb3c70 (diff)
downloadcru-f5c801de04f423269d9cefa3d725b52b87c7a0b9.tar.gz
cru-f5c801de04f423269d9cefa3d725b52b87c7a0b9.tar.bz2
cru-f5c801de04f423269d9cefa3d725b52b87c7a0b9.zip
Refactor CRU_LOG_TAG_*.
Diffstat (limited to 'src/ui/controls/Control.cpp')
-rw-r--r--src/ui/controls/Control.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/controls/Control.cpp b/src/ui/controls/Control.cpp
index 2a94252f..548c9726 100644
--- a/src/ui/controls/Control.cpp
+++ b/src/ui/controls/Control.cpp
@@ -23,7 +23,8 @@ Control::Control(std::string name)
Control::~Control() {
if (host_ && host_->IsInEventHandling()) {
- CRU_LOG_TAG_WARN(
+ CruLogWarn(
+ kLogTag,
"Better use delete later to delete control during event handling.");
}