[Radar] In expireAvatarList, use the return value of erase

This commit is contained in:
Lirusaito
2013-07-21 09:59:35 -04:00
parent 799b5408e4
commit f98f1e9f5d

View File

@@ -617,7 +617,7 @@ void LLFloaterAvatarList::expireAvatarList()
else
{
entry->setPosition(entry->getPosition(), false, false, false, false); // Dead and gone
mAvatars.erase(it);
it = mAvatars.erase(it);
}
}
}