summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-12 15:11:23 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-12 15:11:23 +0300
commita3afea015883068d24f9b6ad0db876131dcc7de7 (patch)
tree530644403f90da618cebae52c291abb7d6286317
parent6b4f279e4a8b61fbaf7dd6a57ad6e9b148158d87 (diff)
downloadmv-a3afea015883068d24f9b6ad0db876131dcc7de7.tar.gz
mv-a3afea015883068d24f9b6ad0db876131dcc7de7.tar.bz2
mv-a3afea015883068d24f9b6ad0db876131dcc7de7.tar.xz
mv-a3afea015883068d24f9b6ad0db876131dcc7de7.zip
Fix iterator issue in some versions.
-rw-r--r--src/map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 94d1a318e..6e978d5dc 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -1739,7 +1739,7 @@ void Map::reduce()
if (!correct || !dontHaveAlpha)
continue;
- Layers::const_reverse_iterator ri = mLayers.rbegin();
+ Layers::reverse_iterator ri = mLayers.rbegin();
while (ri != mLayers.rend())
{
MapLayer *layer = *ri;