Better test for iterator seek.

git-svn-id: svn://localhost/ardour2/branches/3.0@5802 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2009-10-19 16:14:55 +00:00
parent 0a9b982620
commit 70ad8b059a

View file

@ -71,9 +71,7 @@ SequenceTest::iteratorSeekTest ()
seq->clear();
for (Notes::const_iterator i = test_notes.begin(); i != test_notes.end(); ++i) {
if ((*i)->time() >= 600) {
seq->notes().insert(*i);
}
seq->notes().insert(*i);
}
bool on = true;