summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
{