summaryrefslogtreecommitdiff
path: root/src/units.cpp
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/units.cpp
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/units.cpp')
-rw-r--r--src/units.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/units.cpp b/src/units.cpp
index 3a2a5dace..aa532ed36 100644
--- a/src/units.cpp
+++ b/src/units.cpp
@@ -33,7 +33,7 @@
#include "debug.h"
-struct UnitLevel
+struct UnitLevel final
{
std::string symbol;
int count;
@@ -41,7 +41,7 @@ struct UnitLevel
std::string separator;
};
-struct UnitDescription
+struct UnitDescription final
{
std::vector<struct UnitLevel> levels;
double conversion;