From 06f16479ae1b727252404b763b60c924e3fe7903 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Mon, 3 Nov 2025 20:04:52 +0800 Subject: Remove Object2. --- include/cru/ui/helper/ClickDetector.h | 4 ---- include/cru/ui/helper/ShortcutHub.h | 4 ---- 2 files changed, 8 deletions(-) (limited to 'include/cru/ui/helper') diff --git a/include/cru/ui/helper/ClickDetector.h b/include/cru/ui/helper/ClickDetector.h index b83f0e20..037b015e 100644 --- a/include/cru/ui/helper/ClickDetector.h +++ b/include/cru/ui/helper/ClickDetector.h @@ -45,10 +45,6 @@ class ClickDetector : public Object { public: explicit ClickDetector(controls::Control* control); - - CRU_DELETE_COPY(ClickDetector) - CRU_DELETE_MOVE(ClickDetector) - ~ClickDetector() override = default; controls::Control* GetControl() const { return control_; } diff --git a/include/cru/ui/helper/ShortcutHub.h b/include/cru/ui/helper/ShortcutHub.h index a5973ab5..d2c9952b 100644 --- a/include/cru/ui/helper/ShortcutHub.h +++ b/include/cru/ui/helper/ShortcutHub.h @@ -97,10 +97,6 @@ class CRU_UI_API ShortcutHub : public Object { CRU_DEFINE_CLASS_LOG_TAG("ShortcutHub") public: ShortcutHub() = default; - - CRU_DELETE_COPY(ShortcutHub) - CRU_DELETE_MOVE(ShortcutHub) - ~ShortcutHub() override = default; int RegisterShortcut(std::string name, ShortcutKeyBind bind, -- cgit v1.2.3