From 37668bff246d564069a1a6b60ef68589713bcd6d Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Sat, 21 Mar 2020 04:43:12 -0400 Subject: [PATCH] Fix a small crash. Ooops! --- indra/newview/llimview.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index 4b156d505fd..4aba26424e1 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -3221,8 +3221,6 @@ void LLIMMgr::addPendingAgentListUpdates( { //new school update LLSD update_types = LLSD::emptyArray(); - LLSD::array_iterator array_iter; - update_types.append("agent_updates"); update_types.append("updates"); @@ -3231,7 +3229,7 @@ void LLIMMgr::addPendingAgentListUpdates( //we only want to include the last update for a given agent for (const auto& update_pair : updates[update_type.asStringRef()].map()) { - mPendingAgentListUpdates[session_id.asString()][array_iter->asString()][update_pair.first] = + mPendingAgentListUpdates[session_id.asString()][update_type.asStringRef()][update_pair.first] = update_pair.second; } } -- GitLab