diff options
author | Richard Linden <none@none> | 2010-09-22 14:48:18 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2010-09-22 14:48:18 -0700 |
commit | 0edb695ea86d7997ae3952e155ed5b4922c799f8 (patch) | |
tree | 795467705b5289f973ed937efa014900486f66b1 /indra/llui/llradiogroup.cpp | |
parent | 325f16d0b4c8fc9de694121d770a4931a7b98529 (diff) |
instead of exposing mutable container in LLInitParam::Multiple, just expose access functions, begin(), end(), etc.
this allows mutation of param block contents, without being able to change number of elements
Diffstat (limited to 'indra/llui/llradiogroup.cpp')
-rw-r--r-- | indra/llui/llradiogroup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/llradiogroup.cpp b/indra/llui/llradiogroup.cpp index 83c42a5ab8..cc348fdc63 100644 --- a/indra/llui/llradiogroup.cpp +++ b/indra/llui/llradiogroup.cpp @@ -100,8 +100,8 @@ LLRadioGroup::LLRadioGroup(const LLRadioGroup::Params& p) void LLRadioGroup::initFromParams(const Params& p) { - for (LLInitParam::ParamIterator<ItemParams>::const_iterator it = p.items().begin(); - it != p.items().end(); + for (LLInitParam::ParamIterator<ItemParams>::const_iterator it = p.items.begin(); + it != p.items.end(); ++it) { LLRadioGroup::ItemParams item_params(*it); |