summaryrefslogtreecommitdiff
path: root/src/inputmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/inputmanager.h')
-rw-r--r--src/inputmanager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inputmanager.h b/src/inputmanager.h
index 213781bed..f3f5fc735 100644
--- a/src/inputmanager.h
+++ b/src/inputmanager.h
@@ -51,7 +51,7 @@ enum KeyTypes
INPUT_JOYSTICK = 3
};
-struct KeyItem
+struct KeyItem final
{
KeyItem() :
type(-1), value(-1)
@@ -66,7 +66,7 @@ struct KeyItem
int value;
};
-struct KeyFunction
+struct KeyFunction final
{
KeyItem values[KeyFunctionSize];
};
@@ -89,7 +89,7 @@ enum KeyCondition
COND_GAME2 = 2 + 8 + 16 + 64
};
-class InputManager
+class InputManager final
{
public:
InputManager();