Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-05-18 21:31:41 +0200
committerMartin Hořeňovský2020-05-18 21:31:41 +0200
commitd86834e5b5010501345bd7dde6bae5a63937ad2c (patch)
treee9e079c610178ebc7f4f621307fbf92b400b8f4d /src/catch2
parent39e093021c0d1f10a1465c9519aaf9b197ce87a4 (diff)
downloadcatch3-d86834e5b5010501345bd7dde6bae5a63937ad2c.tar.gz
Push down #include <ostream> to .cpp files
Diffstat (limited to 'src/catch2')
-rw-r--r--src/catch2/reporters/catch_reporter_automake.cpp2
-rw-r--r--src/catch2/reporters/catch_reporter_bases.cpp1
-rw-r--r--src/catch2/reporters/catch_reporter_bases.hpp2
-rw-r--r--src/catch2/reporters/catch_reporter_compact.cpp2
-rw-r--r--src/catch2/reporters/catch_reporter_tap.cpp1
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 {