pr comment: restore assert
This commit is contained in:
parent
6ab3ad4037
commit
7459fad141
|
@ -874,6 +874,8 @@ void IndexedSet<T,Metric>::erase( typename IndexedSet<T,Metric>::iterator begin,
|
||||||
// Removes all nodes in the set between first and last, inclusive.
|
// Removes all nodes in the set between first and last, inclusive.
|
||||||
// toFree is extended with the roots of completely removed subtrees.
|
// toFree is extended with the roots of completely removed subtrees.
|
||||||
|
|
||||||
|
ASSERT(!end.i || (begin.i && *begin <= *end));
|
||||||
|
|
||||||
if(begin == end)
|
if(begin == end)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue