summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;