summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2012-05-07 13:32:13 -0700
committerMerov Linden <merov@lindenlab.com>2012-05-07 13:32:13 -0700
commit327970a2169998bc8c01d6c3a88a5b3799b82502 (patch)
tree028f8606fada68f6dc524e08db26b607704d8747 /indra
parentf86592e34e47b9f5b0e39c20b0e16d1367a311b9 (diff)
Fix Mac and Linux compile error in lltexturefetch.cpp
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/lltexturefetch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp
index 332b5e6f6a..541f9bd12b 100755
--- a/indra/newview/lltexturefetch.cpp
+++ b/indra/newview/lltexturefetch.cpp
@@ -3666,7 +3666,7 @@ void LLTextureFetchDebugger::scanRefetchList()
if(iter->second.empty())
{
gTextureList.setDebugFetching(iter->first, -1);
- iter = mRefetchList.erase(iter);
+ mRefetchList.erase(iter++); // This is the correct method to "erase and move on" in an std::map
}
else
{