summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-10 00:16:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-10 00:16:37 +0300
commite066ec2e038405621a7de50e4cd735e548eb488d (patch)
tree626e7ddacf867949a5380bfe528a332dffada5a4 /src/map.h
parent6d7af74bab17c03f1604e8351d397695286414ed (diff)
downloadmv-e066ec2e038405621a7de50e4cd735e548eb488d.tar.gz
mv-e066ec2e038405621a7de50e4cd735e548eb488d.tar.bz2
mv-e066ec2e038405621a7de50e4cd735e548eb488d.tar.xz
mv-e066ec2e038405621a7de50e4cd735e548eb488d.zip
Delete copy constructor in some classes.
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index 3927d50cc..803a400af 100644
--- a/src/map.h
+++ b/src/map.h
@@ -66,6 +66,8 @@ struct MetaTile final
parentX(0), parentY(0), blockmask(0)
{}
+ A_DELETE_COPY(MetaTile);
+
// Pathfinding members
int Fcost; /**< Estimation of total path cost */
int Gcost; /**< Cost from start to this location */
@@ -86,6 +88,8 @@ class TileAnimation final
~TileAnimation();
+ A_DELETE_COPY(TileAnimation);
+
bool update(const int ticks = 1);
void addAffectedTile(MapLayer *const layer, const int index)
@@ -156,6 +160,8 @@ class Map final : public Properties, public ConfigListener
Map(const int width, const int height,
const int tileWidth, const int tileHeight);
+ A_DELETE_COPY(Map);
+
/**
* Destructor.
*/