diff options
author | Graham Linden <graham@lindenlab.com> | 2018-08-16 22:00:53 +0100 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2018-08-16 22:00:53 +0100 |
commit | 597d28ad343d39f0812f7403119cc817dfab3d64 (patch) | |
tree | e47fb05e89bbf9392f91554904a8d97acaca24c1 /indra/newview/llsettingsvo.cpp | |
parent | 5ddd9d0c977bea070008baefdb452e808077f98c (diff) |
Fix constness of LLSettingsVODay::buildDeepCloneAndUncompress.
Diffstat (limited to 'indra/newview/llsettingsvo.cpp')
-rw-r--r-- | indra/newview/llsettingsvo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llsettingsvo.cpp b/indra/newview/llsettingsvo.cpp index c410f0d955..ef74ecf46f 100644 --- a/indra/newview/llsettingsvo.cpp +++ b/indra/newview/llsettingsvo.cpp @@ -1101,8 +1101,8 @@ LLSettingsDay::ptr_t LLSettingsVODay::buildDeepCloneAndUncompress() const for (S32 i = 0; i < LLSettingsDay::TRACK_MAX; ++i) { - LLSettingsDay::CycleTrack_t track = getCycleTrack(i); - LLSettingsDay::CycleTrack_t::iterator iter = track.begin(); + const LLSettingsDay::CycleTrack_t& track = getCycleTrackConst(i); + LLSettingsDay::CycleTrack_t::const_iterator iter = track.begin(); while (iter != track.end()) { // 'Unpack', usually for editing |