diff options
| author | Nat Goodspeed <nat@lindenlab.com> | 2023-05-03 17:38:30 -0400 | 
|---|---|---|
| committer | Nat Goodspeed <nat@lindenlab.com> | 2023-05-03 17:38:30 -0400 | 
| commit | e7c5b9fb0f75b1e75acf7c99eded5f7b697cdc60 (patch) | |
| tree | 1fa8d43aff94a976ec49e6dc32251d759ea31b7e /indra/llinventory | |
| parent | 3c77c1b90f0496669d17286fff736b5e714db379 (diff) | |
SL-19647: Eliminate LLSDArray entirely.
Newer C++ compilers have different semantics around LLSDArray's special copy
constructor, which was essential to proper LLSD nesting. In short, we can no
longer trust LLSDArray to behave correctly. Now that we have variadic
functions, get rid of LLSDArray and replace every reference with llsd::array().
Diffstat (limited to 'indra/llinventory')
| -rw-r--r-- | indra/llinventory/llsettingsdaycycle.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/indra/llinventory/llsettingsdaycycle.cpp b/indra/llinventory/llsettingsdaycycle.cpp index 241826604f..42dd5e3d10 100644 --- a/indra/llinventory/llsettingsdaycycle.cpp +++ b/indra/llinventory/llsettingsdaycycle.cpp @@ -440,8 +440,8 @@ LLSD LLSettingsDay::defaults()          }          LLSD tracks; -        tracks.append(LLSDArray(waterTrack)); -        tracks.append(LLSDArray(skyTrack)); +        tracks.append(llsd::array(waterTrack)); +        tracks.append(llsd::array(skyTrack));          dfltsetting[SETTING_TRACKS] = tracks;          dfltsetting[SETTING_FRAMES] = frames; | 
