summaryrefslogtreecommitdiff
path: root/src/lib/raw_convert.h
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/raw_convert.h
parente34db1b3cdb5bce5ddcb112ee03664a4e463032a (diff)
Rename SafeStringStream -> locked_stringstream. Bump deps for removal of stringstream.
Diffstat (limited to 'src/lib/raw_convert.h')
-rw-r--r--src/lib/raw_convert.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/raw_convert.h b/src/lib/raw_convert.h
index 46b7d0dff..92d8e3d32 100644
--- a/src/lib/raw_convert.h
+++ b/src/lib/raw_convert.h
@@ -21,7 +21,7 @@
#ifndef DCPOMATIC_RAW_CONVERT_H
#define DCPOMATIC_RAW_CONVERT_H
-#include "safe_stringstream.h"
+#include <locked_sstream.h>
#include <iomanip>
/** A sort-of version of boost::lexical_cast that does uses the "C"
@@ -31,7 +31,7 @@ template <typename P, typename Q>
P
raw_convert (Q v, int precision = 16)
{
- SafeStringStream s;
+ locked_stringstream s;
s.imbue (std::locale::classic ());
s << std::setprecision (precision);
s << v;