diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-22 01:34:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-22 01:34:49 +0300 |
commit | 3dcf21babe03cee5080a25e787e1d7e72124288e (patch) | |
tree | 7051c6beddd3e7e1de960bb84e46601db8e2e5c4 /src/inputmanager.h | |
parent | c217b7141df580b686a0eef085bd0eb0a8e6771a (diff) | |
download | mv-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.gz mv-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.bz2 mv-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.xz mv-3dcf21babe03cee5080a25e787e1d7e72124288e.zip |
Add final keyword to most classes.
Diffstat (limited to 'src/inputmanager.h')
-rw-r--r-- | src/inputmanager.h | 6 |
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(); |