Partially fixes #421
This commit is contained in:
parent
ae8dfcb55e
commit
aef6d1795e
@ -126,13 +126,13 @@ public:
|
|||||||
|
|
||||||
inline DeallocatingVectorIterator operator++(int) { //postfix
|
inline DeallocatingVectorIterator operator++(int) { //postfix
|
||||||
DeallocatingVectorIteratorState _myState(mState);
|
DeallocatingVectorIteratorState _myState(mState);
|
||||||
_myState.mIndex++; _myState.setPointerForIndex();
|
mState.mIndex++; mState.setPointerForIndex();
|
||||||
return DeallocatingVectorIterator(_myState);
|
return DeallocatingVectorIterator(_myState);
|
||||||
}
|
}
|
||||||
inline DeallocatingVectorIterator operator --(int) { //postfix
|
inline DeallocatingVectorIterator operator --(int) { //postfix
|
||||||
if(DeallocateC) assert(false);
|
if(DeallocateC) assert(false);
|
||||||
DeallocatingVectorIteratorState _myState(mState);
|
DeallocatingVectorIteratorState _myState(mState);
|
||||||
_myState.mIndex--; _myState.setPointerForIndex();
|
mState.mIndex--; mState.setPointerForIndex();
|
||||||
return DeallocatingVectorIterator(_myState);
|
return DeallocatingVectorIterator(_myState);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user