aboutsummaryrefslogtreecommitdiffstats
path: root/src/MuxElements.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MuxElements.cpp')
-rw-r--r--src/MuxElements.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MuxElements.cpp b/src/MuxElements.cpp
index 1d95cc0..71ff270 100644
--- a/src/MuxElements.cpp
+++ b/src/MuxElements.cpp
@@ -422,7 +422,7 @@ vec_sp_service::iterator getService(
vec_sp_service& services)
{
size_t i = 0;
- for (const auto service : services) {
+ for (const auto& service : services) {
if (service->id == component->serviceId) {
return services.begin() + i;
}