summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2021-06-15 10:52:34 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2021-06-15 10:52:34 +0200
commit30139bac6ddf798cb7529b022112e5b009af2dd9 (patch)
tree92876844a290f58e7d4479766ac5752367dc0b25 /contrib
parentf932f86ec601e250bbdcf2bcf87e4696b9431b50 (diff)
downloadODR-AudioEnc-30139bac6ddf798cb7529b022112e5b009af2dd9.tar.gz
ODR-AudioEnc-30139bac6ddf798cb7529b022112e5b009af2dd9.tar.bz2
ODR-AudioEnc-30139bac6ddf798cb7529b022112e5b009af2dd9.zip
Common bf60e06: ClockTAI string copy
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ClockTAI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/ClockTAI.cpp b/contrib/ClockTAI.cpp
index 626140e..bfa7895 100644
--- a/contrib/ClockTAI.cpp
+++ b/contrib/ClockTAI.cpp
@@ -314,7 +314,7 @@ ClockTAI::ClockTAI(const std::vector<std::string>& bulletin_urls) :
m_bulletin_urls = bulletin_urls;
}
- for (const auto url : m_bulletin_urls) {
+ for (const auto& url : m_bulletin_urls) {
etiLog.level(info) << "TAI Bulletin URL: '" << url << "'";
}
}
@@ -359,7 +359,7 @@ int ClockTAI::get_valid_offset()
#endif
}
else {
- for (const auto url : m_bulletin_urls) {
+ for (const auto& url : m_bulletin_urls) {
try {
#if TAI_TEST
etiLog.level(info) << "Load bulletin from " << url;