diff options
author | Richard Nelson <richard@lindenlab.com> | 2011-07-26 14:35:54 -0700 |
---|---|---|
committer | Richard Nelson <richard@lindenlab.com> | 2011-07-26 14:35:54 -0700 |
commit | df82fbffa29428af258dc84ce2acbb07180f557e (patch) | |
tree | 4752dab4366962934f130386b9b6d51d66d1d587 /indra/llcommon/llinstancetracker.h | |
parent | fd9f3b9fe945cb86f677f5b0cf31302d10bcfa99 (diff) |
removed last vestiges of llinstancetracerscopedguard
Diffstat (limited to 'indra/llcommon/llinstancetracker.h')
-rw-r--r-- | indra/llcommon/llinstancetracker.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/indra/llcommon/llinstancetracker.h b/indra/llcommon/llinstancetracker.h index cdddd0d7a0..1ac6629f8a 100644 --- a/indra/llcommon/llinstancetracker.h +++ b/indra/llcommon/llinstancetracker.h @@ -235,27 +235,6 @@ public: static instance_iter beginInstances() { return instance_iter(getSet_().begin()); } static instance_iter endInstances() { return instance_iter(getSet_().end()); } - // DEPRECATED: iterators now increment and decrement iteration depth - // Instantiate this to get access to iterators for this type. It's a 'guard' in the sense - // that it treats deletes of this type as errors as long as there is an instance of - // this class alive in scope somewhere (i.e. deleting while iterating is bad). - class LLInstanceTrackerScopedGuard - { - public: - LLInstanceTrackerScopedGuard() - { - ++sIterationNestDepth; - } - - ~LLInstanceTrackerScopedGuard() - { - --sIterationNestDepth; - } - - static instance_iter beginInstances() { return instance_iter(getSet_().begin()); } - static instance_iter endInstances() { return instance_iter(getSet_().end()); } - }; - protected: LLInstanceTracker() { |