pr comment: restore assert

This commit is contained in:
Russell Sears 2020-04-23 14:05:59 -07:00
parent 6ab3ad4037
commit 7459fad141
1 changed files with 2 additions and 0 deletions

View File

@ -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.
// toFree is extended with the roots of completely removed subtrees.
ASSERT(!end.i || (begin.i && *begin <= *end));
if(begin == end)
return;