range iteration
This commit is contained in:
parent
bba2fe1b7c
commit
d7cd36a331
|
|
@ -160,11 +160,8 @@ void
|
||||||
PathGroup::pushEnds(PathEndSeq *path_ends)
|
PathGroup::pushEnds(PathEndSeq *path_ends)
|
||||||
{
|
{
|
||||||
ensureSortedMaxPaths();
|
ensureSortedMaxPaths();
|
||||||
PathEndSeq::Iterator iter(path_ends_);
|
for (PathEnd *path_end : path_ends_)
|
||||||
while (iter.hasNext()) {
|
|
||||||
PathEnd *path_end = iter.next();
|
|
||||||
path_ends->push_back(path_end);
|
path_ends->push_back(path_end);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
PathGroupIterator *
|
PathGroupIterator *
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue