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/inputevent.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/inputevent.h') 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 #include +#include "localconsts.h" + typedef std::vector KeysVector; typedef KeysVector::iterator KeysVectorIter; typedef KeysVector::const_iterator KeysVectorCIter; @@ -37,7 +39,7 @@ typedef KeyToIdMap::iterator KeyToIdMapIter; typedef std::map KeyTimeMap; typedef KeyTimeMap::iterator KeyTimeMapIter; -struct InputEvent +struct InputEvent final { InputEvent(const int action0, const int mask0); -- cgit v1.2.3-70-g09d2