summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-01-11 16:52:43 -0800
committerRichard Linden <none@none>2013-01-11 16:52:43 -0800
commit6272ca1ad82fd9818a1dd937a890ed982f0bdc4a (patch)
treeb3d83f6d5921f0f140b8009ffe5e7e6f1bb1a394 /indra
parente0f2c608cf2bc724b7cb4a4443bb6a04c7069bf5 (diff)
SH-3405 WIP convert existing stats to lltrace system
more gcc fixes
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llviewerregion.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llviewerregion.cpp b/indra/newview/llviewerregion.cpp
index 7d2e08c1c6..570bf9264c 100644
--- a/indra/newview/llviewerregion.cpp
+++ b/indra/newview/llviewerregion.cpp
@@ -1001,7 +1001,10 @@ F32 LLViewerRegion::updateVisibleEntries(F32 max_time)
{
if(vo_entry->getState() >= LLVOCacheEntry::WAITING)
{
- iter = mImpl->mVisibleEntries.erase(iter);
+ LLVOCacheEntry::vocache_entry_set_t::iterator next_iter = iter;
+ ++next_iter;
+ mImpl->mVisibleEntries.erase(iter);
+ iter = next_iter;
}
else
{