13
0

Fix crash with debug enabled.

git-svn-id: svn://localhost/ardour2/branches/3.0@8613 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-01-29 19:36:01 +00:00
parent 5b5c576286
commit 64e43bf4b1

View File

@ -743,7 +743,7 @@ Sequence<Time>::remove_note_unlocked(const constNotePtr note)
++tmp;
if (*j == note) {
DEBUG_TRACE (DEBUG::Sequence, string_compose ("%1\terasing pitch %2 @ %3\n", this, (int)(*i)->note(), (*i)->time()));
DEBUG_TRACE (DEBUG::Sequence, string_compose ("%1\terasing pitch %2 @ %3\n", this, (int)(*j)->note(), (*j)->time()));
p.erase (j);
}