summaryrefslogtreecommitdiffstats
path: root/src/server/InputPort.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/InputPort.cpp')
-rw-r--r--src/server/InputPort.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp
index fe534eb0..94e451c0 100644
--- a/src/server/InputPort.cpp
+++ b/src/server/InputPort.cpp
@@ -211,8 +211,8 @@ InputPort::pre_process(Context& context)
for (uint32_t v = 0; v < _poly; ++v) {
// Get all the sources for this voice
uint32_t num_srcs = 0;
- for (Arcs::iterator e = _arcs.begin(); e != _arcs.end(); ++e) {
- get_sources(context, *e, v, srcs, max_num_srcs, num_srcs);
+ for (const auto& a : _arcs) {
+ get_sources(context, a, v, srcs, max_num_srcs, num_srcs);
}
// Then mix them into out buffer for this voice