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.h4
-rw-r--r--include/cru/ui/helper/ShortcutHub.h4
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,