summaryrefslogtreecommitdiff
path: root/src/events
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-29 08:15:17 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-29 08:15:17 +0300
commitce17cd4ae249f87cacbe74fadd28b559eb147aac (patch)
tree0bc2e41dff4f27d7d93ae886f0dbadff35eeca54 /src/events
parentb26fc689da4e1e8e02c8f71904a70ce5c156b482 (diff)
downloadmanaverse-ce17cd4ae249f87cacbe74fadd28b559eb147aac.tar.gz
manaverse-ce17cd4ae249f87cacbe74fadd28b559eb147aac.tar.bz2
manaverse-ce17cd4ae249f87cacbe74fadd28b559eb147aac.tar.xz
manaverse-ce17cd4ae249f87cacbe74fadd28b559eb147aac.zip
Add missing marks for copy constructors.
Diffstat (limited to 'src/events')
-rw-r--r--src/events/inputguievent.h2
-rw-r--r--src/events/keyevent.h2
-rw-r--r--src/events/mouseevent.h2
3 files changed, 6 insertions, 0 deletions
diff --git a/src/events/inputguievent.h b/src/events/inputguievent.h
index dc4dfe427..b6164d55d 100644
--- a/src/events/inputguievent.h
+++ b/src/events/inputguievent.h
@@ -84,6 +84,8 @@ class InputGuiEvent notfinal : public Event
mIsConsumed(false)
{ }
+ A_DELETE_COPY(InputGuiEvent)
+
/**
* Marks the event as consumed. Input event listeners may discard
* consumed input or act on consumed input. An example of a widget
diff --git a/src/events/keyevent.h b/src/events/keyevent.h
index e8fea72ed..936529bba 100644
--- a/src/events/keyevent.h
+++ b/src/events/keyevent.h
@@ -105,6 +105,8 @@ class KeyEvent final : public InputGuiEvent
mActionId(actionId)
{ }
+ A_DELETE_COPY(KeyEvent)
+
/**
* Gets the type of the event.
*
diff --git a/src/events/mouseevent.h b/src/events/mouseevent.h
index cd43af96b..1234801aa 100644
--- a/src/events/mouseevent.h
+++ b/src/events/mouseevent.h
@@ -105,6 +105,8 @@ class MouseEvent final : public InputGuiEvent
{
}
+ A_DELETE_COPY(MouseEvent)
+
/**
* Gets the button of the mouse event.
*