summaryrefslogtreecommitdiff
path: root/src/lib/util.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-07-22 10:06:10 +0100
committerCarl Hetherington <cth@carlh.net>2016-07-22 10:06:10 +0100
commit422be0eece2bf6ee80db1d3c21553cd82efff789 (patch)
tree57604c446361be99eb092f35e703445260ada84a /src/lib/util.cc
parente34db1b3cdb5bce5ddcb112ee03664a4e463032a (diff)
Rename SafeStringStream -> locked_stringstream. Bump deps for removal of stringstream.
Diffstat (limited to 'src/lib/util.cc')
-rw-r--r--src/lib/util.cc6
1 files changed, 3 insertions, 3 deletions
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 <locked_sstream.h>
#include <dcp/util.h>
#include <dcp/picture_asset.h>
#include <dcp/sound_asset.h>
@@ -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;