From 3dcf21babe03cee5080a25e787e1d7e72124288e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 22 Sep 2012 01:34:49 +0300 Subject: Add final keyword to most classes. --- src/inputmanager.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/inputmanager.h') 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(); -- cgit v1.2.3-70-g09d2