Fix, IntervalTree::overlap_iterator was progressing one step too far.
This commit is contained in:
parent
090c13663e
commit
1f4b9450e5
|
@ -186,8 +186,9 @@ namespace Hurricane {
|
|||
template< typename Data >
|
||||
typename IntervalTree<Data>::overlap_iterator& IntervalTree<Data>::overlap_iterator::operator++ ()
|
||||
{
|
||||
while (this->isValid()) {
|
||||
while ( true ) {
|
||||
Super::iterator::operator++();
|
||||
if (not this->isValid()) break;
|
||||
|
||||
cdebug_log(0,0) << "IntervalTree::overlap_iterator::operator++() "
|
||||
<< ::getString(this->getNode()) << std::endl;
|
||||
|
|
Loading…
Reference in New Issue