diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2017-09-20 16:58:58 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2017-09-20 16:58:58 -0400 |
commit | d1ab470542af07425d2b462e284cc616c33dbb17 (patch) | |
tree | 526043dcc3309cf63e8847193caa55f0688749d8 /indra/newview/skins/default/xui/fr/panel_region_estate.xml | |
parent | eae144219c3ab2ca0fc724021eec32225065a006 (diff) |
DRTVWR-418: Fix C++ errors detected by Xcode 9.
You can't legitimately perform an ordered comparison between a pointer and an
int, even 0. Fix a number of 'if (ptr > 0)' to plain 'if (ptr)'.
Fix LLEditWearableDictionary::WearableEntry constructor to avoid varargs
mechanism. It used to accept three different counts, followed by three
different lists of enums, fetched in each case as 'int' -- dubious in itself.
The constructor body performed three different loops to populate those enums
into three different member vectors.
Instead, make the constructor accept three vectors and initialize the member
vectors from the passed vectors. Now that C++ has inline vector
initialization, change existing constructor calls to pass temporary vectors
initialized with what used to be the varargs enum values.
Diffstat (limited to 'indra/newview/skins/default/xui/fr/panel_region_estate.xml')
0 files changed, 0 insertions, 0 deletions