From 422be0eece2bf6ee80db1d3c21553cd82efff789 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 22 Jul 2016 10:06:10 +0100 Subject: Rename SafeStringStream -> locked_stringstream. Bump deps for removal of stringstream. --- src/lib/util.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/util.cc') diff --git a/src/lib/util.cc b/src/lib/util.cc index f3795c264..4a0965858 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -35,8 +35,8 @@ #include "rect.h" #include "digester.h" #include "audio_processor.h" -#include "safe_stringstream.h" #include "compose.hpp" +#include #include #include #include @@ -115,7 +115,7 @@ seconds_to_hms (int s) int h = m / 60; m -= (h * 60); - SafeStringStream hms; + locked_stringstream hms; hms << h << N_(":"); hms.width (2); hms << setfill ('0') << m << N_(":"); @@ -136,7 +136,7 @@ seconds_to_approximate_hms (int s) int h = m / 60; m -= (h * 60); - SafeStringStream ap; + locked_stringstream ap; bool const hours = h > 0; bool const minutes = h < 6 && m > 0; -- cgit v1.2.3