fix thinko in previous commit.
This commit is contained in:
parent
efacbb1485
commit
4c12df6cf3
|
@ -360,8 +360,7 @@ MidiGhostRegion::clear_events()
|
|||
|
||||
while (it != events.end()) {
|
||||
delete (*it).second;
|
||||
events.erase (it);
|
||||
++it;
|
||||
it = events.erase (it);
|
||||
}
|
||||
|
||||
_optimization_iterator = events.end ();
|
||||
|
|
Loading…
Reference in New Issue