diff options
| author | Martin Hořeňovský | 2020-05-18 21:31:41 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-05-18 21:31:41 +0200 |
| commit | d86834e5b5010501345bd7dde6bae5a63937ad2c (patch) | |
| tree | e9e079c610178ebc7f4f621307fbf92b400b8f4d /src/catch2 | |
| parent | 39e093021c0d1f10a1465c9519aaf9b197ce87a4 (diff) | |
| download | catch3-d86834e5b5010501345bd7dde6bae5a63937ad2c.tar.gz | |
Push down #include <ostream> to .cpp files
Diffstat (limited to 'src/catch2')
| -rw-r--r-- | src/catch2/reporters/catch_reporter_automake.cpp | 2 | ||||
| -rw-r--r-- | src/catch2/reporters/catch_reporter_bases.cpp | 1 | ||||
| -rw-r--r-- | src/catch2/reporters/catch_reporter_bases.hpp | 2 | ||||
| -rw-r--r-- | src/catch2/reporters/catch_reporter_compact.cpp | 2 | ||||
| -rw-r--r-- | src/catch2/reporters/catch_reporter_tap.cpp | 1 |
5 files changed, 7 insertions, 1 deletions
diff --git a/src/catch2/reporters/catch_reporter_automake.cpp b/src/catch2/reporters/catch_reporter_automake.cpp index 73cdf552..56e3b3d2 100644 --- a/src/catch2/reporters/catch_reporter_automake.cpp +++ b/src/catch2/reporters/catch_reporter_automake.cpp @@ -5,6 +5,8 @@ #include <catch2/reporters/catch_reporter_automake.hpp> +#include <ostream> + namespace Catch { AutomakeReporter::~AutomakeReporter() {} diff --git a/src/catch2/reporters/catch_reporter_bases.cpp b/src/catch2/reporters/catch_reporter_bases.cpp index e716167d..abb47e68 100644 --- a/src/catch2/reporters/catch_reporter_bases.cpp +++ b/src/catch2/reporters/catch_reporter_bases.cpp @@ -15,6 +15,7 @@ #include <cstring> #include <cfloat> #include <cstdio> +#include <ostream> #include <cassert> #include <memory> diff --git a/src/catch2/reporters/catch_reporter_bases.hpp b/src/catch2/reporters/catch_reporter_bases.hpp index 128362a3..09e6d545 100644 --- a/src/catch2/reporters/catch_reporter_bases.hpp +++ b/src/catch2/reporters/catch_reporter_bases.hpp @@ -16,7 +16,7 @@ #include <cstdio> #include <cassert> #include <memory> -#include <ostream> +#include <iosfwd> namespace Catch { void prepareExpandedExpression(AssertionResult& result); diff --git a/src/catch2/reporters/catch_reporter_compact.cpp b/src/catch2/reporters/catch_reporter_compact.cpp index 8d498e44..22699e8a 100644 --- a/src/catch2/reporters/catch_reporter_compact.cpp +++ b/src/catch2/reporters/catch_reporter_compact.cpp @@ -10,6 +10,8 @@ #include <catch2/internal/catch_console_colour.hpp> #include <catch2/internal/catch_string_manip.hpp> +#include <ostream> + namespace { #ifdef CATCH_PLATFORM_MAC diff --git a/src/catch2/reporters/catch_reporter_tap.cpp b/src/catch2/reporters/catch_reporter_tap.cpp index e5b7bae7..fb8993a2 100644 --- a/src/catch2/reporters/catch_reporter_tap.cpp +++ b/src/catch2/reporters/catch_reporter_tap.cpp @@ -8,6 +8,7 @@ #include <catch2/internal/catch_string_manip.hpp> #include <algorithm> +#include <ostream> namespace Catch { |