summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/llviewermedia.cpp2
-rw-r--r--indra/newview/llviewermedia.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp
index 92022441b7..f9e09036a8 100644
--- a/indra/newview/llviewermedia.cpp
+++ b/indra/newview/llviewermedia.cpp
@@ -442,7 +442,7 @@ bool LLViewerMedia::getInWorldMediaDisabled()
return sInWorldMediaDisabled;
}
-const LLViewerMedia::impl_list &getPriorityList()
+LLViewerMedia::impl_list &LLViewerMedia::getPriorityList()
{
return sViewerMediaImplList;
}
diff --git a/indra/newview/llviewermedia.h b/indra/newview/llviewermedia.h
index f997dc8c0e..1a4d2cd3c6 100644
--- a/indra/newview/llviewermedia.h
+++ b/indra/newview/llviewermedia.h
@@ -106,7 +106,7 @@ class LLViewerMedia
static bool getInWorldMediaDisabled();
// Returns the priority-sorted list of all media impls.
- static const impl_list &getPriorityList();
+ static impl_list &getPriorityList();
// This is the comparitor used to sort the list.
static bool priorityComparitor(const LLViewerMediaImpl* i1, const LLViewerMediaImpl* i2);