diff options
author | Richard Linden <none@none> | 2013-04-19 20:09:00 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-04-19 20:09:00 -0700 |
commit | cc7d92147c4a4502ec2ac04f150e94a4ac18f79e (patch) | |
tree | 42126cccd1dd4f8f55314b09995295e1f92e94e9 /indra/llcommon/llinstancetracker.cpp | |
parent | 04d0d5a3ab0285f0d3acc7581cea6809343e86ab (diff) |
SH-4080 WIP interesting: random crash on Mac
removed unused dll support from llinstancetracker as it didn't appear to be thread safe
Diffstat (limited to 'indra/llcommon/llinstancetracker.cpp')
-rw-r--r-- | indra/llcommon/llinstancetracker.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/indra/llcommon/llinstancetracker.cpp b/indra/llcommon/llinstancetracker.cpp index 071a637cda..7ff8324fe3 100644 --- a/indra/llcommon/llinstancetracker.cpp +++ b/indra/llcommon/llinstancetracker.cpp @@ -34,22 +34,6 @@ // external library headers // other Linden headers -//static -void * & LLInstanceTrackerBase::getInstances(std::type_info const & info) -{ - typedef std::map<std::string, void *> InstancesMap; - static InstancesMap instances; - - // std::map::insert() is just what we want here. You attempt to insert a - // (key, value) pair. If the specified key doesn't yet exist, it inserts - // the pair and returns a std::pair of (iterator, true). If the specified - // key DOES exist, insert() simply returns (iterator, false). One lookup - // handles both cases. - return instances.insert(InstancesMap::value_type(info.name(), - InstancesMap::mapped_type())) - .first->second; -} - void LLInstanceTrackerBase::StaticBase::incrementDepth() { apr_atomic_inc32(&sIterationNestDepth); |