diff --git a/src/catch2/reporters/catch_reporter_console.cpp b/src/catch2/reporters/catch_reporter_console.cpp index 3169d95a..afceede4 100644 --- a/src/catch2/reporters/catch_reporter_console.cpp +++ b/src/catch2/reporters/catch_reporter_console.cpp @@ -18,6 +18,8 @@ #include #include #include +#include +#include #include #include @@ -277,7 +279,7 @@ public: class TablePrinter { std::ostream& m_os; std::vector m_columnInfos; - std::ostringstream m_oss; + ReusableStringStream m_oss; int m_currentColumn = -1; bool m_isOpen = false;