1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-09 05:01:57 +01:00

Fix a compilation warning, make some member functions const

This commit is contained in:
Paul-Licameli
2015-04-19 07:27:33 -04:00
committed by Paul Licameli
parent 6810095509
commit 1992b0c7e3
5 changed files with 6 additions and 6 deletions

View File

@@ -218,7 +218,7 @@ void NoteTrack::WarpAndTransposeNotes(double t0, double t1,
Alg_iterator iter(mSeq, false);
iter.begin();
Alg_event_ptr event;
while ((event = iter.next()) && event->time < t1) {
while (0 != (event = iter.next()) && event->time < t1) {
if (event->is_note() && event->time >= t0 &&
// Allegro data structure does not restrict channels to 16.
// Since there is not way to select more than 16 channels,