Merge remote-tracking branch 'origin/master' into 2.0
[dcpomatic.git] / src / lib / dcpomatic_time.h
index 4c7ea4ba52d524746ac9acb064ae6700d0d8ca35..55476d5b52ad6d5752344dd9a23b70d5f3770fe8 100644 (file)
@@ -26,6 +26,7 @@
 #include <iomanip>
 #include <stdint.h>
 #include "frame_rate_change.h"
+#include "safe_stringstream.h"
 
 class dcpomatic_round_up_test;
 
@@ -86,7 +87,7 @@ public:
                int f;
                split (r, h, m, s, f);
 
-               std::ostringstream o;
+               SafeStringStream o;
                o.width (2);
                o.fill ('0');
                o << std::setw(2) << std::setfill('0') << h << ":"