summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ClockTAI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ClockTAI.cpp b/src/ClockTAI.cpp
index e38eca1..6d05370 100644
--- a/src/ClockTAI.cpp
+++ b/src/ClockTAI.cpp
@@ -83,8 +83,8 @@ int ClockTAI::download_offset_task()
bool offset_valid = false;
// Clear the bulletin
- std::stringstream new_bulletin;
- m_bulletin.swap(new_bulletin);
+ m_bulletin.str("");
+ m_bulletin.clear();
try {
download_tai_utc_bulletin(tai_ietf_url);