Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Remove some extraneous includes from run_context.hpp

Commit
ba57c173100a5d456b476a661c7fd6ff447e3c8e
Author
Martin Hořeňovský ·
Parents
4e0af77e2975

Files · Download .tar.gz

Changes

 src/catch2/internal/catch_run_context.cpp | 1 +
 src/catch2/internal/catch_run_context.hpp | 4 +---
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/catch2/internal/catch_run_context.cpp b/src/catch2/internal/catch_run_context.cpp
index af656143..b85f9ea0 100644
--- a/src/catch2/internal/catch_run_context.cpp
+++ b/src/catch2/internal/catch_run_context.cpp
@@ -1,3 +1,4 @@
+#include <catch2/interfaces/catch_interfaces_generatortracker.hpp>
 #include <catch2/internal/catch_run_context.hpp>
 #include <catch2/internal/catch_compiler_capabilities.hpp>
 #include <catch2/internal/catch_context.hpp>
diff --git a/src/catch2/internal/catch_run_context.hpp b/src/catch2/internal/catch_run_context.hpp
index af9fb386..d0664e6e 100644
--- a/src/catch2/internal/catch_run_context.hpp
+++ b/src/catch2/internal/catch_run_context.hpp
@@ -8,17 +8,14 @@
 #ifndef TWOBLUECUBES_CATCH_RUNNER_IMPL_HPP_INCLUDED
 #define TWOBLUECUBES_CATCH_RUNNER_IMPL_HPP_INCLUDED
 
-#include <catch2/interfaces/catch_interfaces_generatortracker.hpp>
 #include <catch2/interfaces/catch_interfaces_runner.hpp>
 #include <catch2/interfaces/catch_interfaces_reporter.hpp>
-#include <catch2/interfaces/catch_interfaces_exception.hpp>
 #include <catch2/catch_config.hpp>
 #include <catch2/internal/catch_test_registry.hpp>
 #include <catch2/catch_test_case_info.hpp>
 #include <catch2/internal/catch_test_macro_impl.hpp>
 #include <catch2/catch_message.hpp>
 #include <catch2/catch_totals.hpp>
-#include <catch2/catch_test_spec.hpp>
 #include <catch2/internal/catch_test_case_tracker.hpp>
 #include <catch2/internal/catch_assertion_handler.hpp>
 
@@ -27,6 +24,7 @@
 namespace Catch {
 
     struct IMutableContext;
+    struct IGeneratorTracker;
 
     ///////////////////////////////////////////////////////////////////////////