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/map.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map.h') diff --git a/src/map.h b/src/map.h index b90cbc2a7..c48ae6f95 100644 --- a/src/map.h +++ b/src/map.h @@ -56,7 +56,7 @@ typedef AmbientLayerVector::const_iterator AmbientLayerVectorCIter; * This is information that doesn't need to be repeated for each tile in each * layer of the map. */ -struct MetaTile +struct MetaTile final { /** * Constructor. @@ -78,7 +78,7 @@ struct MetaTile /** * Animation cycle of a tile image which changes the map accordingly. */ -class TileAnimation +class TileAnimation final { public: TileAnimation(Animation *const ani); @@ -102,7 +102,7 @@ typedef TileAnimationMap::const_iterator TileAnimationMapCIter; /** * A tile map. */ -class Map : public Properties, public ConfigListener +class Map final : public Properties, public ConfigListener { public: enum BlockType -- cgit v1.2.3-60-g2f50