Store the streambuf from cout up-front because cout may get redirected when running tests
| 4617 | // Store the streambuf from cout up-front because |
| 4618 | // cout may get redirected when running tests |
| 4619 | CoutStream() : m_os( Catch::cout().rdbuf() ) {} |
| 4620 | |
| 4621 | public: // IStream |
| 4622 | std::ostream& stream() override { return m_os; } |