mirror of
https://github.com/AxioDL/amuse.git
synced 2025-07-19 19:45:53 +00:00
Fix iterator fail
This commit is contained in:
parent
2341b6b7d0
commit
b1e7f66199
@ -60,7 +60,9 @@ void Engine::_bringOutYourDead()
|
|||||||
{
|
{
|
||||||
emitter->_destroy();
|
emitter->_destroy();
|
||||||
it = m_activeEmitters.erase(it);
|
it = m_activeEmitters.erase(it);
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
++it;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto it = m_activeVoices.begin() ; it != m_activeVoices.end() ;)
|
for (auto it = m_activeVoices.begin() ; it != m_activeVoices.end() ;)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user