summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMonroe Linden <monroe@lindenlab.com>2009-10-30 14:07:23 -0700
committerMonroe Linden <monroe@lindenlab.com>2009-10-30 14:07:23 -0700
commitd6363c6c7ad32ecd12ca0bae849505a6181fb9e2 (patch)
treecdcbd1a7672362de863fe8daa186f4e1fe8f174b /indra/newview
parenta326a4e126f77920c8265e0d01ce770be798e56b (diff)
Fixed a couple problems with getPriorityList().
Diffstat (limited to 'indra/newview')
-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);