diff options
| author | Martin Hořeňovský | 2022-04-16 14:43:40 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-04-16 16:33:57 +0200 |
| commit | 98bb638fb2e3f1af7ef87bc483faff35076c6c51 (patch) | |
| tree | 43bc7a80e02df7d431e0c26a9ec6307670f29ccc /src/catch2/interfaces | |
| parent | 05e85c5652480b584287f406b2170f61b02d560c (diff) | |
| download | catch3-98bb638fb2e3f1af7ef87bc483faff35076c6c51.tar.gz | |
Split out IStream out of catch_stream.hpp
Diffstat (limited to 'src/catch2/interfaces')
| -rw-r--r-- | src/catch2/interfaces/catch_interfaces_reporter.cpp | 3 | ||||
| -rw-r--r-- | src/catch2/interfaces/catch_interfaces_reporter.hpp | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/catch2/interfaces/catch_interfaces_reporter.cpp b/src/catch2/interfaces/catch_interfaces_reporter.cpp index 9a6cbdc2..b1ad584c 100644 --- a/src/catch2/interfaces/catch_interfaces_reporter.cpp +++ b/src/catch2/interfaces/catch_interfaces_reporter.cpp @@ -15,6 +15,7 @@ #include <catch2/catch_test_case_info.hpp> #include <catch2/reporters/catch_reporter_helpers.hpp> #include <catch2/internal/catch_move_and_forward.hpp> +#include <catch2/internal/catch_istream.hpp> #include <algorithm> #include <cassert> @@ -44,6 +45,8 @@ namespace Catch { return m_customOptions; } + ReporterConfig::~ReporterConfig() = default; + AssertionStats::AssertionStats( AssertionResult const& _assertionResult, std::vector<MessageInfo> const& _infoMessages, Totals const& _totals ) diff --git a/src/catch2/interfaces/catch_interfaces_reporter.hpp b/src/catch2/interfaces/catch_interfaces_reporter.hpp index 1e6c2590..1a2736f7 100644 --- a/src/catch2/interfaces/catch_interfaces_reporter.hpp +++ b/src/catch2/interfaces/catch_interfaces_reporter.hpp @@ -40,6 +40,10 @@ namespace Catch { ColourMode colourMode, std::map<std::string, std::string> customOptions ); + ReporterConfig( ReporterConfig&& ) = default; + ReporterConfig& operator=( ReporterConfig&& ) = default; + ~ReporterConfig(); // = default + Detail::unique_ptr<IStream> takeStream() &&; IConfig const* fullConfig() const; ColourMode colourMode() const; |