Commit Graph

4 Commits (18aabdfd3d2efc1b5507e2fe001cfc36ee84b710)

Author SHA1 Message Date
Nat Goodspeed 8c6f752982 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.
2011-09-06 22:07:49 -04:00
brad kittenbrink b9a9b0017d Fix for "doubleton" error using LLInstanceTracker across shared library boundaries. 2011-03-09 17:01:08 -08:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Tofu Linden 346cabd557 make the instancetracker unit test really, like, work. before I fiddle with a big pile of stuff. 2010-02-06 21:03:55 +00:00