summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-09-30 03:27:33 +0300
committerAndrei Karas <akaras@inbox.ru>2019-09-30 03:30:11 +0300
commitbf9fc1de4c53a88a28be48dbf7cf4795199442d4 (patch)
tree46018d5b85c669961fb2fe6ab8af06f432139999 /src/input/inputmanager.cpp
parentfdf8230a80fa418e4b46dc489e5b2dda7901b55c (diff)
downloadmv-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.gz
mv-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.bz2
mv-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.xz
mv-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.zip
Add missing static keywords
Diffstat (limited to 'src/input/inputmanager.cpp')
-rw-r--r--src/input/inputmanager.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp
index 1cb5281a9..b470b66ac 100644
--- a/src/input/inputmanager.cpp
+++ b/src/input/inputmanager.cpp
@@ -1061,7 +1061,6 @@ InputActionT InputManager::getActionByKey(const SDL_Event &restrict event)
}
InputActionT InputManager::getActionByConfigField(const std::string &field)
- const restrict2
{
for (int i = 0; i < CAST_S32(InputAction::TOTAL); i ++)
{
@@ -1073,7 +1072,6 @@ InputActionT InputManager::getActionByConfigField(const std::string &field)
}
void InputManager::addChatCommands(std::list<std::string> &restrict arr)
- restrict
{
const int sz = CAST_S32(InputAction::TOTAL);
for (int i = 0; i < sz; i++)