13
0

autofication of another loop

This commit is contained in:
Paul Davis 2024-11-05 13:26:58 -07:00
parent d260b1d4c0
commit 39949e778d

View File

@ -363,8 +363,8 @@ MidiPlaylist::render (MidiChannelFilter* filter)
EventsSortByTimeAndType<samplepos_t> cmp; EventsSortByTimeAndType<samplepos_t> cmp;
/* iterate, top-most region first */ /* iterate, top-most region first */
for (auto i = regs.rbegin(); i != regs.rend(); ++i) { for (auto & mr : regs) {
std::shared_ptr<MidiRegion> mr = *i;
DEBUG_TRACE (DEBUG::MidiPlaylistIO, string_compose ("maybe render from %1\n", mr->name())); DEBUG_TRACE (DEBUG::MidiPlaylistIO, string_compose ("maybe render from %1\n", mr->name()));
if (top) { if (top) {