summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.h b/src/map.h
index 4e054bdb..d03570d8 100644
--- a/src/map.h
+++ b/src/map.h
@@ -69,7 +69,7 @@ class TileAnimation
~TileAnimation();
void update(int ticks = 1);
void addAffectedTile(MapLayer *layer, int index)
- { mAffected.push_back(std::make_pair(layer, index)); }
+ { mAffected.emplace_back(layer, index); }
private:
std::list<std::pair<MapLayer*, int> > mAffected;
SimpleAnimation *mAnimation;