diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-11-03 20:04:52 +0800 |
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-11-03 20:04:52 +0800 |
| commit | 06f16479ae1b727252404b763b60c924e3fe7903 (patch) | |
| tree | 09cdf8e5e90ac85ea19840fad1a2cd149c1fc3f6 /include/cru/ui/helper | |
| parent | 5b46d14997c2ff2244f303216e4e286665ac8a42 (diff) | |
| download | cru-06f16479ae1b727252404b763b60c924e3fe7903.tar.gz cru-06f16479ae1b727252404b763b60c924e3fe7903.tar.bz2 cru-06f16479ae1b727252404b763b60c924e3fe7903.zip | |
Remove Object2.
Diffstat (limited to 'include/cru/ui/helper')
| -rw-r--r-- | include/cru/ui/helper/ClickDetector.h | 4 | ||||
| -rw-r--r-- | include/cru/ui/helper/ShortcutHub.h | 4 |
2 files changed, 0 insertions, 8 deletions
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, |
