X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcompose.hpp;h=aa67b5a1fd8bc9f1027ab272b20c93ff744d8732;hb=4c60c74890ee16333ecf3adb87e69fc49d9a304f;hp=b3f410c8ea52345112dc911671fe6756cbde9554;hpb=c55d8bcda8f4da74bbc9489127354211cea8f2ff;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