mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Small include cleanup
This commit is contained in:
		| @@ -12,6 +12,8 @@ | |||||||
| #include <catch2/internal/catch_compiler_capabilities.hpp> | #include <catch2/internal/catch_compiler_capabilities.hpp> | ||||||
| #include <catch2/internal/catch_reusable_string_stream.hpp> | #include <catch2/internal/catch_reusable_string_stream.hpp> | ||||||
|  |  | ||||||
|  | #include <exception> // for `std::exception` in no-exception configuration | ||||||
|  |  | ||||||
| namespace Catch { | namespace Catch { | ||||||
| #if !defined(CATCH_CONFIG_DISABLE_EXCEPTIONS) | #if !defined(CATCH_CONFIG_DISABLE_EXCEPTIONS) | ||||||
|     template <typename Ex> |     template <typename Ex> | ||||||
|   | |||||||
| @@ -9,6 +9,7 @@ | |||||||
| #define CATCH_IS_PERMUTATION_HPP_INCLUDED | #define CATCH_IS_PERMUTATION_HPP_INCLUDED | ||||||
|  |  | ||||||
| #include <iterator> | #include <iterator> | ||||||
|  | #include <type_traits> | ||||||
|  |  | ||||||
| namespace Catch { | namespace Catch { | ||||||
|     namespace Detail { |     namespace Detail { | ||||||
|   | |||||||
| @@ -12,8 +12,6 @@ | |||||||
| #include <catch2/internal/catch_unique_ptr.hpp> | #include <catch2/internal/catch_unique_ptr.hpp> | ||||||
|  |  | ||||||
| #include <iosfwd> | #include <iosfwd> | ||||||
| #include <cstddef> |  | ||||||
| #include <ostream> |  | ||||||
| #include <string> | #include <string> | ||||||
|  |  | ||||||
| namespace Catch { | namespace Catch { | ||||||
|   | |||||||
| @@ -12,6 +12,7 @@ | |||||||
| #include <catch2/internal/catch_move_and_forward.hpp> | #include <catch2/internal/catch_move_and_forward.hpp> | ||||||
|  |  | ||||||
| #include <functional> | #include <functional> | ||||||
|  | #include <type_traits> | ||||||
|  |  | ||||||
| namespace Catch { | namespace Catch { | ||||||
|     namespace Matchers { |     namespace Matchers { | ||||||
|   | |||||||
| @@ -11,6 +11,8 @@ | |||||||
| #include <catch2/internal/catch_is_permutation.hpp> | #include <catch2/internal/catch_is_permutation.hpp> | ||||||
| #include <catch2/matchers/catch_matchers_templated.hpp> | #include <catch2/matchers/catch_matchers_templated.hpp> | ||||||
|  |  | ||||||
|  | #include <functional> | ||||||
|  |  | ||||||
| namespace Catch { | namespace Catch { | ||||||
|     namespace Matchers { |     namespace Matchers { | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský