From b5ee0673661b37fbd6243d70c1d2c968e3186374 Mon Sep 17 00:00:00 2001 From: Eugene Kondrashev Date: Mon, 26 Oct 2009 20:46:36 +0200 Subject: Fixed major bug EXT-1850-Crash after open of group-chat (ProductEngine) --HG-- branch : product-engine --- indra/newview/llparticipantlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/llparticipantlist.cpp b/indra/newview/llparticipantlist.cpp index 25e773e8b8..534c69a2a3 100644 --- a/indra/newview/llparticipantlist.cpp +++ b/indra/newview/llparticipantlist.cpp @@ -87,7 +87,7 @@ bool LLParticipantList::SpeakerAddListener::handleEvent(LLPointer event, const LLSD& userdata) { LLAvatarList::uuid_vector_t& group_members = mAvatarList->getIDs(); - group_members.erase(std::find(group_members.begin(), group_members.end(), event->getValue().asUUID())); + group_members.erase(std::find(group_members.begin(), group_members.end(), event->getValue().asUUID()), group_members.end()); mAvatarList->setDirty(); return true; } -- cgit v1.2.3