Small include cleanup

This commit is contained in:
Martin Hořeňovský 2025-04-29 13:15:34 +02:00
parent 4ff57aba42
commit 1e7b879fae
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
5 changed files with 6 additions and 2 deletions

View File

@ -12,6 +12,8 @@
#include <catch2/internal/catch_compiler_capabilities.hpp>
#include <catch2/internal/catch_reusable_string_stream.hpp>
#include <exception> // for `std::exception` in no-exception configuration
namespace Catch {
#if !defined(CATCH_CONFIG_DISABLE_EXCEPTIONS)
template <typename Ex>

View File

@ -9,6 +9,7 @@
#define CATCH_IS_PERMUTATION_HPP_INCLUDED
#include <iterator>
#include <type_traits>
namespace Catch {
namespace Detail {

View File

@ -12,8 +12,6 @@
#include <catch2/internal/catch_unique_ptr.hpp>
#include <iosfwd>
#include <cstddef>
#include <ostream>
#include <string>
namespace Catch {

View File

@ -12,6 +12,7 @@
#include <catch2/internal/catch_move_and_forward.hpp>
#include <functional>
#include <type_traits>
namespace Catch {
namespace Matchers {

View File

@ -11,6 +11,8 @@
#include <catch2/internal/catch_is_permutation.hpp>
#include <catch2/matchers/catch_matchers_templated.hpp>
#include <functional>
namespace Catch {
namespace Matchers {