13
0

triggerbox: use C++11 syntax for iteration

This commit is contained in:
Paul Davis 2022-02-09 17:25:59 -07:00
parent 439e112d32
commit f941041805

View File

@ -3221,8 +3221,8 @@ TriggerBox::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_samp
std::vector<uint32_t> to_run;
for (uint32_t n = 0; n < all_triggers.size(); ++n) {
all_triggers[n]->process_state_requests (bufs, nframes - 1);
for (auto & trig : all_triggers) {
trig->process_state_requests (bufs, nframes - 1);
}
/* cue handling is over at this point, reset _active_scene to reflect this */