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