diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-10 00:16:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-10 00:16:37 +0300 |
commit | e066ec2e038405621a7de50e4cd735e548eb488d (patch) | |
tree | 626e7ddacf867949a5380bfe528a332dffada5a4 /src/map.h | |
parent | 6d7af74bab17c03f1604e8351d397695286414ed (diff) | |
download | manaplus-e066ec2e038405621a7de50e4cd735e548eb488d.tar.gz manaplus-e066ec2e038405621a7de50e4cd735e548eb488d.tar.bz2 manaplus-e066ec2e038405621a7de50e4cd735e548eb488d.tar.xz manaplus-e066ec2e038405621a7de50e4cd735e548eb488d.zip |
Delete copy constructor in some classes.
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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. */ |