summaryrefslogtreecommitdiff
path: root/src/input/keyinput.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/keyinput.h')
-rw-r--r--src/input/keyinput.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/keyinput.h b/src/input/keyinput.h
index 5a8a26363..4d38cfe4d 100644
--- a/src/input/keyinput.h
+++ b/src/input/keyinput.h
@@ -79,7 +79,7 @@
class KeyInput final
{
public:
- KeyInput() :
+ KeyInput() noexcept2 :
mKey(0),
mType(KeyEventType::PRESSED),
#ifdef USE_SDL2
@@ -88,7 +88,7 @@ class KeyInput final
mActionId(InputAction::UNDEFINED_VALUE)
{ }
- KeyInput(const KeyInput &k) :
+ KeyInput(const KeyInput &k) noexcept2 :
mKey(k.mKey),
mType(k.mType),
#ifdef USE_SDL2