summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-30 21:18:24 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-30 21:18:24 +0300
commit9ff808fb20962884d56147d46c8e4de915a0735d (patch)
treeb09025e75c2e57a48e5be971953edbc14b466846 /src/input/inputmanager.h
parentaaa274245a584c633dcfdb5444bbc1dc21c0c28f (diff)
downloadplus-9ff808fb20962884d56147d46c8e4de915a0735d.tar.gz
plus-9ff808fb20962884d56147d46c8e4de915a0735d.tar.bz2
plus-9ff808fb20962884d56147d46c8e4de915a0735d.tar.xz
plus-9ff808fb20962884d56147d46c8e4de915a0735d.zip
Disable noexcept for clang and old gcc versions.
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 26e858185..0db51a7d7 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 noexcept
+ void setNewKeyIndex(const InputActionT value) restrict2 noexcept2
{ mNewKeyIndex = value; }
/**
* Set a reference to the key setup window.
*/
void setSetupInput(Setup_Input *restrict const setupInput)
- restrict2 noexcept A_NONNULL(2)
+ restrict2 noexcept2 A_NONNULL(2)
{ mSetupInput = setupInput; }
/**
* Get the index of the new key to be assigned.
*/
- InputActionT getNewKeyIndex() const restrict2 noexcept A_WARN_UNUSED
+ InputActionT getNewKeyIndex() const restrict2 noexcept2 A_WARN_UNUSED
{ return mNewKeyIndex; }
void updateKeyActionMap(KeyToActionMap &restrict actionMap,