From 5edaa008efabb1b97446bed2f6b542cf01eb3c70 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Fri, 5 Dec 2025 20:33:50 +0800 Subject: Remove CRU_DEFINE_CLASS_LOG_TAG. --- include/cru/ui/helper/ClickDetector.h | 3 ++- include/cru/ui/helper/ShortcutHub.h | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'include/cru/ui/helper') diff --git a/include/cru/ui/helper/ClickDetector.h b/include/cru/ui/helper/ClickDetector.h index 2eb453d9..08728e18 100644 --- a/include/cru/ui/helper/ClickDetector.h +++ b/include/cru/ui/helper/ClickDetector.h @@ -36,7 +36,8 @@ enum class ClickState { }; class ClickDetector : public Object { - CRU_DEFINE_CLASS_LOG_TAG("ClickDetector") + private: + constexpr static auto kLogTag = "ClickDetector"; public: explicit ClickDetector(controls::Control* control); diff --git a/include/cru/ui/helper/ShortcutHub.h b/include/cru/ui/helper/ShortcutHub.h index 1b600c48..4d46f654 100644 --- a/include/cru/ui/helper/ShortcutHub.h +++ b/include/cru/ui/helper/ShortcutHub.h @@ -94,7 +94,9 @@ struct ShortcutInfo { }; class CRU_UI_API ShortcutHub : public Object { - CRU_DEFINE_CLASS_LOG_TAG("ShortcutHub") + private: + constexpr static auto kLogTag = "ShortcutHub"; + public: ShortcutHub() = default; ~ShortcutHub() override = default; -- cgit v1.2.3