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 superfluous catch_enforce include from complete_invoke

Also added missing transitive include to `catch_benchmark.hpp`.
Commit
2b54f1e7a63f80098f354b6ff186f47a8e6da6fa
Author
Martin Hořeňovský ·
Parents
2c84854b90f6

Files · Download .tar.gz

Changes

 src/catch2/benchmark/catch_benchmark.hpp              | 1 +
 src/catch2/benchmark/detail/catch_complete_invoke.hpp | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/catch2/benchmark/catch_benchmark.hpp b/src/catch2/benchmark/catch_benchmark.hpp
index 7eb1a018..ae351e52 100644
--- a/src/catch2/benchmark/catch_benchmark.hpp
+++ b/src/catch2/benchmark/catch_benchmark.hpp
@@ -11,6 +11,7 @@
 #define CATCH_BENCHMARK_HPP_INCLUDED
 
 #include <catch2/interfaces/catch_interfaces_config.hpp>
+#include <catch2/internal/catch_compiler_capabilities.hpp>
 #include <catch2/internal/catch_context.hpp>
 #include <catch2/interfaces/catch_interfaces_reporter.hpp>
 #include <catch2/internal/catch_unique_name.hpp>
diff --git a/src/catch2/benchmark/detail/catch_complete_invoke.hpp b/src/catch2/benchmark/detail/catch_complete_invoke.hpp
index d97e0056..e5af9465 100644
--- a/src/catch2/benchmark/detail/catch_complete_invoke.hpp
+++ b/src/catch2/benchmark/detail/catch_complete_invoke.hpp
@@ -11,7 +11,6 @@
 #define CATCH_COMPLETE_INVOKE_HPP_INCLUDED
 
 #include <catch2/internal/catch_test_failure_exception.hpp>
-#include <catch2/internal/catch_enforce.hpp>
 #include <catch2/internal/catch_meta.hpp>
 #include <catch2/interfaces/catch_interfaces_capture.hpp>
 #include <catch2/interfaces/catch_interfaces_registry_hub.hpp>