summaryrefslogtreecommitdiff
path: root/src/guichan/include/guichan/key.hpp
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/guichan/include/guichan/key.hpp
parentc217b7141df580b686a0eef085bd0eb0a8e6771a (diff)
downloadplus-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.gz
plus-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.bz2
plus-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.xz
plus-3dcf21babe03cee5080a25e787e1d7e72124288e.zip
Add final keyword to most classes.
Diffstat (limited to 'src/guichan/include/guichan/key.hpp')
-rw-r--r--src/guichan/include/guichan/key.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/guichan/include/guichan/key.hpp b/src/guichan/include/guichan/key.hpp
index 9b31d7c6b..c2af0ac60 100644
--- a/src/guichan/include/guichan/key.hpp
+++ b/src/guichan/include/guichan/key.hpp
@@ -47,6 +47,8 @@
#include "guichan/platform.hpp"
+#include "localconsts.h"
+
// windows.h defines DELETE which breaks this file as we have a constant named
// DELETE, hence we undefine DELETE if it is defined and hope people don't use
// that windows define with Guichan.
@@ -59,7 +61,7 @@ namespace gcn
/**
* Represents a key or a character.
*/
- class GCN_CORE_DECLSPEC Key
+ class GCN_CORE_DECLSPEC Key final
{
public: