From 061e9efd3e7b7426c69d0f57447722a3aa321d96 Mon Sep 17 00:00:00 2001 From: Richard Nelson <richard@lindenlab.com> Date: Wed, 27 Jul 2011 13:11:09 -0700 Subject: [PATCH] broken operator= semantics for instance tracker iterators --- indra/llcommon/llinstancetracker.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/indra/llcommon/llinstancetracker.h b/indra/llcommon/llinstancetracker.h index 78a67653c8b..3c3b40f66fa 100644 --- a/indra/llcommon/llinstancetracker.h +++ b/indra/llcommon/llinstancetracker.h @@ -69,12 +69,6 @@ class LLInstanceTracker : public LLInstanceTrackerBase --sIterationNestDepth; } - instance_iter& operator =(const instance_iter& other) - { - mIterator = other.mIterator; - ++sIterationNestDepth; - super_t::operator=(other); - } private: friend class boost::iterator_core_access; @@ -110,13 +104,6 @@ class LLInstanceTracker : public LLInstanceTrackerBase ++sIterationNestDepth; } - key_iter& operator =(const key_iter& other) - { - mIterator = other.mIterator; - ++sIterationNestDepth; - super_t::operator=(other); - } - ~key_iter() { --sIterationNestDepth; -- GitLab