Tweak logging format.
[dcpomatic.git] / src / lib / compose.hpp
index b3f410c8ea52345112dc911671fe6756cbde9554..aa67b5a1fd8bc9f1027ab272b20c93ff744d8732 100644 (file)
 #ifndef STRING_COMPOSE_H
 #define STRING_COMPOSE_H
 
-#include <sstream>
 #include <string>
 #include <list>
 #include <map>                 // for multimap
+#include "safe_stringstream.h"
 
 namespace StringPrivate
 {
@@ -56,7 +56,7 @@ namespace StringPrivate
     std::string str() const;
 
   private:
-    std::ostringstream os;
+    SafeStringStream os;
     int arg_no;
 
     // we store the output as a list - when the output string is requested, the