diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2011-09-06 22:07:49 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2011-09-06 22:07:49 -0400 |
commit | 8c6f752982e83a50e328b9c83f762721f38836d7 (patch) | |
tree | 6954c6e48896ed78d98e7a91c6ee35e98647a965 /indra/llvfs/lllfsthread.cpp | |
parent | 0ab6eee0996c78d32b722157140cea5a21a5e460 (diff) |
STORM-1541: Hoist LLInstanceTracker::getMap_() to base getStatic().
Generalize the notion of getting some chunk of "static" storage: introduce
LLInstanceTrackerBase::getStatic() template method. Define StaticData struct
containing the InstanceMap (or InstanceSet, for that specialization) along
with the S32 that caused the VS2010 linker so much grief. Completely eliminate
that S32 as an actual class-static member, qualifying all references with the
struct returned by getStatic().
In LLInstanceTrackerBase::getInstances(), use one std::map lookup instead of
three.
Diffstat (limited to 'indra/llvfs/lllfsthread.cpp')
0 files changed, 0 insertions, 0 deletions