aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ClockTAI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ClockTAI.cpp')
-rw-r--r--lib/ClockTAI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ClockTAI.cpp b/lib/ClockTAI.cpp
index 626140e..bfa7895 100644
--- a/lib/ClockTAI.cpp
+++ b/lib/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;