summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-09-14 10:46:49 -0700
committerRichard Nelson <none@none>2010-09-14 10:46:49 -0700
commit8348dae46ffc053b3f638c6342a641cda5e6ea22 (patch)
treebea64cdae1c1c4edc58586ae47ff62e82fc1a848
parent19848665587fce7fc232c528add88c994ddefd63 (diff)
added non-const accessor to Multiple<T> containers, might need to revert
-rw-r--r--indra/llxuixml/llinitparam.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llxuixml/llinitparam.h b/indra/llxuixml/llinitparam.h
index 60b14d9a90..2d281dd0b8 100644
--- a/indra/llxuixml/llinitparam.h
+++ b/indra/llxuixml/llinitparam.h
@@ -1027,6 +1027,7 @@ namespace LLInitParam
operator value_assignment_t() const { return self_t::get(); }
// explicit conversion
value_assignment_t operator()() const { return get(); }
+ container_t& operator()() { return mValues; }
U32 numValidElements() const
{
@@ -1210,6 +1211,7 @@ namespace LLInitParam
operator value_assignment_t() const { return self_t::get(); }
// explicit conversion
value_assignment_t operator()() const { return get(); }
+ container_t& operator()() { return mValues; }
U32 numValidElements() const
{