summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-06 20:48:44 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-06 20:48:44 +0300
commit04536a4cbb0908cf7d732c1db29a7dd1f5f32f2a (patch)
tree91fa4efee89144627383f2bed2e71dc97479c837 /src/input/inputmanager.h
parentb36a959171a071797ad260b571bccb2f92c936a9 (diff)
downloadmanaverse-04536a4cbb0908cf7d732c1db29a7dd1f5f32f2a.tar.gz
manaverse-04536a4cbb0908cf7d732c1db29a7dd1f5f32f2a.tar.bz2
manaverse-04536a4cbb0908cf7d732c1db29a7dd1f5f32f2a.tar.xz
manaverse-04536a4cbb0908cf7d732c1db29a7dd1f5f32f2a.zip
Add noexcept into inputmanager.
Diffstat (limited to 'src/input/inputmanager.h')
-rw-r--r--src/input/inputmanager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/inputmanager.h b/src/input/inputmanager.h
index 26302c9da..306de4df6 100644
--- a/src/input/inputmanager.h
+++ b/src/input/inputmanager.h
@@ -96,20 +96,20 @@ class InputManager final
/**
* Set the index of the new key to be assigned.
*/
- void setNewKeyIndex(const InputActionT value) restrict2
+ void setNewKeyIndex(const InputActionT value) restrict2 noexcept
{ mNewKeyIndex = value; }
/**
* Set a reference to the key setup window.
*/
void setSetupInput(Setup_Input *restrict const setupInput)
- restrict2 A_NONNULL(2)
+ restrict2 noexcept A_NONNULL(2)
{ mSetupInput = setupInput; }
/**
* Get the index of the new key to be assigned.
*/
- InputActionT getNewKeyIndex() const restrict2 A_WARN_UNUSED
+ InputActionT getNewKeyIndex() const restrict2 noexcept A_WARN_UNUSED
{ return mNewKeyIndex; }
void updateKeyActionMap(KeyToActionMap &restrict actionMap,