diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2009-11-10 13:30:29 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2009-11-10 13:30:29 -0500 |
commit | a97aebb84a8b5b43de01fd3823d1b38e711e6ab7 (patch) | |
tree | f761ddd348af7310b66a4ce1d95af96b97f415e3 /indra/newview/skins/default/xui | |
parent | fc849873abb839b013efbae5e44b150d4be1f236 (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