summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
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 35dd1c5123..a25876a1e6 100755
--- a/indra/newview/lltexturefetch.cpp
+++ b/indra/newview/lltexturefetch.cpp
@@ -3675,7 +3675,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
{