summaryrefslogtreecommitdiff
path: root/src/map.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/map.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/map.cpp')
-rw-r--r--src/map.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 087a16a55..71d0f5ee4 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -52,7 +52,7 @@
/**
* A location on a tile map. Used for pathfinding, open list.
*/
-struct Location
+struct Location final
{
/**
* Constructor.
@@ -73,7 +73,7 @@ struct Location
MetaTile *tile;
};
-class ActorFunctuator
+class ActorFunctuator final
{
public:
bool operator()(const Actor *const a, const Actor *const b) const