mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 15:13:41 +02:00
correct iterator push on NodeList clear
This commit is contained in:
parent
9efb391ecf
commit
718d04bd71
1 changed files with 1 additions and 2 deletions
|
@ -279,8 +279,7 @@ void NodeList::clear() {
|
|||
|
||||
// iterate the nodes in the list
|
||||
while (nodeItem != _nodeHash.end()) {
|
||||
killNodeAtHashIterator(nodeItem);
|
||||
nodeItem++;
|
||||
nodeItem = killNodeAtHashIterator(nodeItem);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue