MAINT-6071: Change reference to a copy to avoid later use of erased variable.
parent
f7ab567621
commit
e5bfdac024
|
|
@ -599,7 +599,7 @@ void LLMaterialMgr::processGetQueue()
|
|||
//
|
||||
get_queue_t::iterator itRegionQueue = loopRegionQueue++;
|
||||
|
||||
const LLUUID& region_id = itRegionQueue->first;
|
||||
LLUUID region_id = itRegionQueue->first;
|
||||
if (isGetAllPending(region_id))
|
||||
{
|
||||
continue;
|
||||
|
|
@ -647,6 +647,7 @@ void LLMaterialMgr::processGetQueue()
|
|||
if (materials.empty())
|
||||
{
|
||||
mGetQueue.erase(itRegionQueue);
|
||||
// $TODO*: We may be able to issue a continue here. Research.
|
||||
}
|
||||
|
||||
std::string materialString = zip_llsd(materialsData);
|
||||
|
|
|
|||
Loading…
Reference in New Issue