diff options
| author | Phil Nash | 2015-07-10 07:44:37 +0100 |
|---|---|---|
| committer | Phil Nash | 2015-07-10 07:44:37 +0100 |
| commit | 57df3ba9982e15e8b90a697b98a5c7b6bcf8b97e (patch) | |
| tree | 77b0b64cac63227c6fcbe98b2d534cddd8d6be26 /include | |
| parent | e6b365dc8cdc40b9f7875450765d8aa26fa178f9 (diff) | |
| download | catch3-57df3ba9982e15e8b90a697b98a5c7b6bcf8b97e.tar.gz | |
Force cout/ cerr to be initialised before errors in test registry are printed
- see #461
Diffstat (limited to 'include')
| -rw-r--r-- | include/internal/catch_test_case_registry_impl.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/internal/catch_test_case_registry_impl.hpp b/include/internal/catch_test_case_registry_impl.hpp index b25ed9a2..41170052 100644 --- a/include/internal/catch_test_case_registry_impl.hpp +++ b/include/internal/catch_test_case_registry_impl.hpp @@ -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 }; /////////////////////////////////////////////////////////////////////////// |