aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/helper
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/helper')
-rw-r--r--include/cru/ui/helper/ClickDetector.h3
-rw-r--r--include/cru/ui/helper/ShortcutHub.h4
2 files changed, 5 insertions, 2 deletions
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;