broken operator= semantics for instance tracker iterators
parent
7a43d38eaa
commit
061e9efd3e
|
|
@ -69,12 +69,6 @@ public:
|
|||
--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 @@ public:
|
|||
++sIterationNestDepth;
|
||||
}
|
||||
|
||||
key_iter& operator =(const key_iter& other)
|
||||
{
|
||||
mIterator = other.mIterator;
|
||||
++sIterationNestDepth;
|
||||
super_t::operator=(other);
|
||||
}
|
||||
|
||||
~key_iter()
|
||||
{
|
||||
--sIterationNestDepth;
|
||||
|
|
|
|||
Loading…
Reference in New Issue