summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2009-11-10 13:30:29 -0500
committerNat Goodspeed <nat@lindenlab.com>2009-11-10 13:30:29 -0500
commita97aebb84a8b5b43de01fd3823d1b38e711e6ab7 (patch)
treef761ddd348af7310b66a4ce1d95af96b97f415e3 /indra/newview/skins/default/xui
parentfc849873abb839b013efbae5e44b150d4be1f236 (diff)
Enhance LLInstanceTracker variants to be more uniform.
For both the (so far unused) generic KEY form and the KEY = T* form, provide key_iter, beginKeys(), endKeys(). Change instance_iter so that when dereferenced, it gives you a T& rather than a T*, to be more harmonious with a typical STL container. (You parameterize LLInstanceTracker with T, not with T*.) Fix existing usage in llfasttimer.cpp and lltimer.cpp to agree. For the KEY = T* specialization, add T* getInstance(T*) so client isn't forced to know which variant was used. Add unit tests for uniformity of public operations on both variants.
Diffstat (limited to 'indra/newview/skins/default/xui')
0 files changed, 0 insertions, 0 deletions