From 23706afa6431e34f821baa925ada220b06833a97 Mon Sep 17 00:00:00 2001 From: "Andrew A. de Laix" <alain@lindenlab.com> Date: Thu, 24 Jun 2010 17:36:59 -0700 Subject: [PATCH] Fix EXT-8039: change from std::vector to std::list to permit appending during iteration and prevent random crashes. --- indra/newview/llviewermedia.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llviewermedia.h b/indra/newview/llviewermedia.h index 8626f4469e3..ef9c07c6c78 100644 --- a/indra/newview/llviewermedia.h +++ b/indra/newview/llviewermedia.h @@ -84,7 +84,7 @@ class LLViewerMedia static const char* SHOW_MEDIA_WITHIN_PARCEL_SETTING; static const char* SHOW_MEDIA_OUTSIDE_PARCEL_SETTING; - typedef std::vector<LLViewerMediaImpl*> impl_list; + typedef std::list<LLViewerMediaImpl*> impl_list; typedef std::map<LLUUID, LLViewerMediaImpl*> impl_id_map; -- GitLab