summaryrefslogtreecommitdiff
path: root/src/events/keyevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/events/keyevent.h')
-rw-r--r--src/events/keyevent.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/events/keyevent.h b/src/events/keyevent.h
index 54ad54759..abde6b8ab 100644
--- a/src/events/keyevent.h
+++ b/src/events/keyevent.h
@@ -116,7 +116,7 @@ class KeyEvent: public InputGuiEvent
*
* @return The type of the event.
*/
- KeyEventTypeT getType() const A_WARN_UNUSED
+ KeyEventTypeT getType() const noexcept2 A_WARN_UNUSED
{ return mType; }
/**
@@ -124,10 +124,10 @@ class KeyEvent: public InputGuiEvent
*
* @return The key of the event.
*/
- const Key &getKey() const A_WARN_UNUSED
+ const Key &getKey() const noexcept2 A_WARN_UNUSED
{ return mKey; }
- InputActionT getActionId() const A_WARN_UNUSED
+ InputActionT getActionId() const noexcept2 A_WARN_UNUSED
{ return mActionId; }
#ifdef USE_SDL2