summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-18 00:28:27 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-18 00:28:27 +0300
commit569f5dc5f7de2ec275ee08c54cede72981be4f62 (patch)
treebae0cf6615c47c87627dd255b9fe41f04b956762 /src/input/inputmanager.cpp
parentab0b7e825a68e248be2e7bea6e3b3092366a210e (diff)
downloadmanaverse-569f5dc5f7de2ec275ee08c54cede72981be4f62.tar.gz
manaverse-569f5dc5f7de2ec275ee08c54cede72981be4f62.tar.bz2
manaverse-569f5dc5f7de2ec275ee08c54cede72981be4f62.tar.xz
manaverse-569f5dc5f7de2ec275ee08c54cede72981be4f62.zip
add restrict into inputmanager.
Diffstat (limited to 'src/input/inputmanager.cpp')
-rw-r--r--src/input/inputmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp
index c84044771..74515e21d 100644
--- a/src/input/inputmanager.cpp
+++ b/src/input/inputmanager.cpp
@@ -282,7 +282,7 @@ void InputManager::makeDefault(const int i)
}
}
-bool InputManager::hasConflicts(int &key1, int &key2) const
+bool InputManager::hasConflicts(int &restrict key1, int &restrict key2) const
{
/**
* No need to parse the square matrix: only check one triangle