Force cout/ cerr to be initialised before errors in test registry are printed

- see #461
This commit is contained in:
Phil Nash 2015-07-10 07:44:37 +01:00
parent e6b365dc8c
commit 57df3ba998

View File

@ -105,6 +105,7 @@ namespace Catch {
std::vector<TestCase> m_functionsInOrder;
std::vector<TestCase> m_nonHiddenFunctions;
size_t m_unnamedCount;
std::ios_base::Init m_ostreamInit; // Forces cout/ cerr to be initialised
};
///////////////////////////////////////////////////////////////////////////