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

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMartin Hořeňovský2021-08-10 00:38:23 +0200
committerMartin Hořeňovský2021-08-11 22:52:04 +0200
commit2b54f1e7a63f80098f354b6ff186f47a8e6da6fa (patch)
treefc74290302e3d27c00e4d896519f0b30385f8a7b
parent2c84854b90f626032c47c88d1bbbc8af2b5bdab4 (diff)
downloadcatch3-2b54f1e7a63f80098f354b6ff186f47a8e6da6fa.tar.gz
Remove superfluous catch_enforce include from complete_invoke
Also added missing transitive include to `catch_benchmark.hpp`.
-rw-r--r--src/catch2/benchmark/catch_benchmark.hpp1
-rw-r--r--src/catch2/benchmark/detail/catch_complete_invoke.hpp1
2 files changed, 1 insertions, 1 deletions
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>