diff options
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputactionsortfunctor.h (renamed from src/input/keysortfunctor.h) | 8 | ||||
-rw-r--r-- | src/input/inputmanager.cpp | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/input/keysortfunctor.h b/src/input/inputactionsortfunctor.h index fedb4c395..1e79cc27e 100644 --- a/src/input/keysortfunctor.h +++ b/src/input/inputactionsortfunctor.h @@ -18,14 +18,14 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef INPUT_KEYSORTFUNCTOR_H -#define INPUT_KEYSORTFUNCTOR_H +#ifndef INPUT_INPUTACTIONSORTFUNCTOR_H +#define INPUT_INPUTACTIONSORTFUNCTOR_H #include "input/inputactiondata.h" #include "localconsts.h" -class KeySortFunctor final +class InputActionSortFunctor final { public: bool operator() (const int key1, const int key2) const @@ -36,4 +36,4 @@ class KeySortFunctor final const InputActionData *keys; }; -#endif // INPUT_KEYSORTFUNCTOR_H +#endif // INPUT_INPUTACTIONSORTFUNCTOR_H diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp index 429297cfd..68950f4cf 100644 --- a/src/input/inputmanager.cpp +++ b/src/input/inputmanager.cpp @@ -25,9 +25,9 @@ #include "touchmanager.h" #include "input/inputactionmap.h" +#include "input/inputactionsortfunctor.h" #include "input/joystick.h" #include "input/keyboardconfig.h" -#include "input/keysortfunctor.h" #include "being/localplayer.h" #ifdef USE_SDL2 #include "input/multitouchmanager.h" @@ -64,7 +64,7 @@ extern QuitDialog *quitDialog; namespace { - KeySortFunctor inputActionDataSorter; + InputActionSortFunctor inputActionDataSorter; } // namespace InputManager::InputManager() : |