Push down #include <ostream> to .cpp files

This commit is contained in:
Martin Hořeňovský 2020-05-18 21:31:41 +02:00
parent 39e093021c
commit d86834e5b5
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
5 changed files with 7 additions and 1 deletions

View File

@ -5,6 +5,8 @@
#include <catch2/reporters/catch_reporter_automake.hpp> #include <catch2/reporters/catch_reporter_automake.hpp>
#include <ostream>
namespace Catch { namespace Catch {
AutomakeReporter::~AutomakeReporter() {} AutomakeReporter::~AutomakeReporter() {}

View File

@ -15,6 +15,7 @@
#include <cstring> #include <cstring>
#include <cfloat> #include <cfloat>
#include <cstdio> #include <cstdio>
#include <ostream>
#include <cassert> #include <cassert>
#include <memory> #include <memory>

View File

@ -16,7 +16,7 @@
#include <cstdio> #include <cstdio>
#include <cassert> #include <cassert>
#include <memory> #include <memory>
#include <ostream> #include <iosfwd>
namespace Catch { namespace Catch {
void prepareExpandedExpression(AssertionResult& result); void prepareExpandedExpression(AssertionResult& result);

View File

@ -10,6 +10,8 @@
#include <catch2/internal/catch_console_colour.hpp> #include <catch2/internal/catch_console_colour.hpp>
#include <catch2/internal/catch_string_manip.hpp> #include <catch2/internal/catch_string_manip.hpp>
#include <ostream>
namespace { namespace {
#ifdef CATCH_PLATFORM_MAC #ifdef CATCH_PLATFORM_MAC

View File

@ -8,6 +8,7 @@
#include <catch2/internal/catch_string_manip.hpp> #include <catch2/internal/catch_string_manip.hpp>
#include <algorithm> #include <algorithm>
#include <ostream>
namespace Catch { namespace Catch {