summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterbeacons.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2011-02-05 22:29:43 -0500
committerNat Goodspeed <nat@lindenlab.com>2011-02-05 22:29:43 -0500
commit54b1db2f6587acd11254f30addd8c53e00e05518 (patch)
treefe2337efed31d25b28cf7c079911dfd790db1e2f /indra/newview/llfloaterbeacons.h
parent230d22ceb2ccc9e82aec0a37f1647636fb5ee310 (diff)
Consolidate paramsa, paramsb, et al., into ["a"], ["b"] arrays.
Following the C++ convention of having two distinct somethigna, somethingb names, initially we introduced paramsa, paramsb LLSD arrays, following that convention all the way down the line. This led to two distinct loops every time we wanted to walk both arrays, since we didn't want to assume that they were both the same size. But leveraging the fact that distinct LLSD arrays stored in the same LLSD container can in fact be of different lengths, refactored all the pairs of vars into top-level LLSD maps keyed by ["a"] and ["b"]. That lets us perform nested loops rather than duplicating the logic, making test code much less messy.
Diffstat (limited to 'indra/newview/llfloaterbeacons.h')
0 files changed, 0 insertions, 0 deletions