summaryrefslogtreecommitdiff
path: root/src/playerinfo.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/playerinfo.h
parentc217b7141df580b686a0eef085bd0eb0a8e6771a (diff)
downloadmv-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.gz
mv-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.bz2
mv-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.xz
mv-3dcf21babe03cee5080a25e787e1d7e72124288e.zip
Add final keyword to most classes.
Diffstat (limited to 'src/playerinfo.h')
-rw-r--r--src/playerinfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playerinfo.h b/src/playerinfo.h
index 63612166a..ebfdba4c6 100644
--- a/src/playerinfo.h
+++ b/src/playerinfo.h
@@ -45,7 +45,7 @@ typedef std::map<int, Stat> StatMap;
/**
* Backend for core player information.
*/
-struct PlayerInfoBackend
+struct PlayerInfoBackend final
{
IntMap mAttributes;
StatMap mStats;
@@ -58,7 +58,7 @@ class Item;
/**
* Special information storage structure.
*/
-struct Special
+struct Special final
{
int currentMana;
int neededMana;