auto-fication of a loop in InternalReturn

This commit is contained in:
Paul Davis 2024-04-02 18:08:11 -06:00
parent 7bcdd5b2e4
commit a0756429cf
1 changed files with 3 additions and 3 deletions

View File

@ -47,9 +47,9 @@ InternalReturn::run (BufferSet& bufs, samplepos_t /*start_sample*/, samplepos_t
return;
}
for (list<InternalSend*>::iterator i = _sends.begin(); i != _sends.end(); ++i) {
if ((*i)->active () && (!(*i)->source_route() || (*i)->source_route()->active())) {
bufs.merge_from ((*i)->get_buffers(), nframes);
for (auto & send : _sends) {
if (send->active () && (!send->source_route() || send->source_route()->active())) {
bufs.merge_from (send->get_buffers(), nframes);
}
}
}