summaryrefslogtreecommitdiff
path: root/src/inputevent.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-22 01:34:49 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-22 01:34:49 +0300
commit3dcf21babe03cee5080a25e787e1d7e72124288e (patch)
tree7051c6beddd3e7e1de960bb84e46601db8e2e5c4 /src/inputevent.h
parentc217b7141df580b686a0eef085bd0eb0a8e6771a (diff)
downloadManaVerse-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.gz
ManaVerse-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.bz2
ManaVerse-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.xz
ManaVerse-3dcf21babe03cee5080a25e787e1d7e72124288e.zip
Add final keyword to most classes.
Diffstat (limited to 'src/inputevent.h')
-rw-r--r--src/inputevent.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/inputevent.h b/src/inputevent.h
index cc2fbe5fb..e3dc1382c 100644
--- a/src/inputevent.h
+++ b/src/inputevent.h
@@ -24,6 +24,8 @@
#include <map>
#include <vector>
+#include "localconsts.h"
+
typedef std::vector<int> KeysVector;
typedef KeysVector::iterator KeysVectorIter;
typedef KeysVector::const_iterator KeysVectorCIter;
@@ -37,7 +39,7 @@ typedef KeyToIdMap::iterator KeyToIdMapIter;
typedef std::map<int, int> KeyTimeMap;
typedef KeyTimeMap::iterator KeyTimeMapIter;
-struct InputEvent
+struct InputEvent final
{
InputEvent(const int action0, const int mask0);