aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/EtiReader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EtiReader.cpp b/src/EtiReader.cpp
index 51266af..d1c7622 100644
--- a/src/EtiReader.cpp
+++ b/src/EtiReader.cpp
@@ -334,7 +334,7 @@ const std::vector<std::shared_ptr<SubchannelSource> > EdiReader::getSubchannels(
std::vector<std::shared_ptr<SubchannelSource> > sources;
sources.resize(m_sources.size());
- for (const auto s : m_sources) {
+ for (const auto& s : m_sources) {
if (s.first < sources.size()) {
sources.at(s.first) = s.second;
}