From a3afea015883068d24f9b6ad0db876131dcc7de7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 12 Jul 2011 15:11:23 +0300 Subject: Fix iterator issue in some versions. --- src/map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2