X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcompose.hpp;h=aa67b5a1fd8bc9f1027ab272b20c93ff744d8732;hb=bb9d1f9e0f1aa818d1ac2145f05563e4c95d41b1;hp=b3f410c8ea52345112dc911671fe6756cbde9554;hpb=9fdcacab9988f4cc5d44a6fab3ab294f5005f468;p=dcpomatic.git diff --git a/src/lib/compose.hpp b/src/lib/compose.hpp index b3f410c8e..aa67b5a1f 100644 --- a/src/lib/compose.hpp +++ b/src/lib/compose.hpp @@ -33,10 +33,10 @@ #ifndef STRING_COMPOSE_H #define STRING_COMPOSE_H -#include #include #include #include // 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