X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Futil.cc;h=4a0965858eabbf07aa0c156f5714eeb50d2f7ec7;hp=f3795c26406c75a6b4e286cde16510a93b2e8ca7;hb=422be0eece2bf6ee80db1d3c21553cd82efff789;hpb=e34db1b3cdb5bce5ddcb112ee03664a4e463032a 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;