summaryrefslogtreecommitdiffstats
path: root/src/model
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-09-26 02:04:01 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-09-26 02:04:01 +0200
commit8e0395e39c52b148d5ff9ef9fdd6a6d33e7b86e9 (patch)
treed8e2263e716bf20e931438169c56d3ff79059db7 /src/model
parent519119db3d20191955e265b2888b14eb09007a4c (diff)
downloadrpgedit-8e0395e39c52b148d5ff9ef9fdd6a6d33e7b86e9.tar
rpgedit-8e0395e39c52b148d5ff9ef9fdd6a6d33e7b86e9.zip
Map: fix move constructor/assignment
Diffstat (limited to 'src/model')
-rw-r--r--src/model/Map.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/model/Map.hpp b/src/model/Map.hpp
index acf93b1..b8a8e18 100644
--- a/src/model/Map.hpp
+++ b/src/model/Map.hpp
@@ -148,6 +148,7 @@ public:
static_cast<_Map>(*this) = std::move(other);
entities = std::move(other.entities);
+ positions = std::move(other.positions);
entityStates = std::move(other.entityStates);
return *this;
@@ -155,6 +156,7 @@ public:
Map(Map &&other) : _Map(std::move(other)) {
entities = std::move(other.entities);
+ positions = std::move(other.positions);
entityStates = std::move(other.entityStates);
}