summaryrefslogtreecommitdiff
path: root/src/resources/map/map.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-27 23:59:04 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-27 23:59:04 +0300
commit4bb2d76c5d836c5c1aaea0bd63d2dda99f0e76f6 (patch)
tree9a37b7976d86e526999506ed07aa9a49957e6c93 /src/resources/map/map.cpp
parentcff45e3874cb71ed89f97d04f04bcb5da93ab010 (diff)
downloadmv-4bb2d76c5d836c5c1aaea0bd63d2dda99f0e76f6.tar.gz
mv-4bb2d76c5d836c5c1aaea0bd63d2dda99f0e76f6.tar.bz2
mv-4bb2d76c5d836c5c1aaea0bd63d2dda99f0e76f6.tar.xz
mv-4bb2d76c5d836c5c1aaea0bd63d2dda99f0e76f6.zip
Fix compilation with different flags.
Diffstat (limited to 'src/resources/map/map.cpp')
-rw-r--r--src/resources/map/map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/map/map.cpp b/src/resources/map/map.cpp
index e1c7e6938..ddb657875 100644
--- a/src/resources/map/map.cpp
+++ b/src/resources/map/map.cpp
@@ -785,7 +785,7 @@ const MetaTile *Map::getMetaTile(const int x, const int y) const restrict2
return &mMetaTiles[x + y * mWidth];
}
-Actors::iterator Map::addActor(Actor *restrict2 const actor) restrict2
+Actors::iterator Map::addActor(Actor *const actor) restrict2
{
mActors.push_front(actor);
// mSpritesUpdated = true;