diff options
| author | Martin Hořeňovský | 2022-04-16 14:12:56 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-04-16 16:33:50 +0200 |
| commit | 05e85c5652480b584287f406b2170f61b02d560c (patch) | |
| tree | 9ffc1e68450480f16dfc67e1a88a5890d7b56c9d /src/catch2/internal/catch_stream.cpp | |
| parent | b5202576766c63a29275a8386a8e3c0439089382 (diff) | |
| download | catch3-05e85c5652480b584287f406b2170f61b02d560c.tar.gz | |
Split out Catch::cout/cerr/clog into their own file
Diffstat (limited to 'src/catch2/internal/catch_stream.cpp')
| -rw-r--r-- | src/catch2/internal/catch_stream.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/catch2/internal/catch_stream.cpp b/src/catch2/internal/catch_stream.cpp index 089a7583..64cfde0a 100644 --- a/src/catch2/internal/catch_stream.cpp +++ b/src/catch2/internal/catch_stream.cpp @@ -11,9 +11,9 @@ #include <catch2/internal/catch_stringref.hpp> #include <catch2/internal/catch_singletons.hpp> #include <catch2/internal/catch_unique_ptr.hpp> +#include <catch2/internal/catch_stdstreams.hpp> #include <cstdio> -#include <iostream> #include <fstream> #include <sstream> #include <vector> @@ -201,12 +201,4 @@ namespace Detail { } - /////////////////////////////////////////////////////////////////////////// - - -#ifndef CATCH_CONFIG_NOSTDOUT // If you #define this you must implement these functions - std::ostream& cout() { return std::cout; } - std::ostream& cerr() { return std::cerr; } - std::ostream& clog() { return std::clog; } -#endif } |