diff options
-rw-r--r-- | contrib/ClockTAI.cpp | 4 |
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; |