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

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/internal
diff options
context:
space:
mode:
authorChris Thrasher2025-04-26 10:08:05 -0600
committerChris Thrasher2025-04-27 11:08:41 -0600
commit5a6d70eebbf8201c7c76ea26fb1bb06cceeee5c3 (patch)
tree1f5ff60421d7e3c574ad8e63b7385d66690726af /src/catch2/internal
parent10d1a2750cf448e6399f1750133c2d85b6e48b07 (diff)
downloadcatch3-5a6d70eebbf8201c7c76ea26fb1bb06cceeee5c3.tar.gz
Remove unused headers
Diffstat (limited to 'src/catch2/internal')
-rw-r--r--src/catch2/internal/catch_enforce.hpp2
-rw-r--r--src/catch2/internal/catch_exception_translator_registry.hpp1
-rw-r--r--src/catch2/internal/catch_is_permutation.hpp1
-rw-r--r--src/catch2/internal/catch_istream.cpp2
-rw-r--r--src/catch2/internal/catch_sharding.hpp1
-rw-r--r--src/catch2/internal/catch_stringref.cpp1
6 files changed, 0 insertions, 8 deletions
diff --git a/src/catch2/internal/catch_enforce.hpp b/src/catch2/internal/catch_enforce.hpp
index 076cea3c..ddb6d845 100644
--- a/src/catch2/internal/catch_enforce.hpp
+++ b/src/catch2/internal/catch_enforce.hpp
@@ -12,8 +12,6 @@
#include <catch2/internal/catch_compiler_capabilities.hpp>
#include <catch2/internal/catch_reusable_string_stream.hpp>
-#include <exception>
-
namespace Catch {
#if !defined(CATCH_CONFIG_DISABLE_EXCEPTIONS)
template <typename Ex>
diff --git a/src/catch2/internal/catch_exception_translator_registry.hpp b/src/catch2/internal/catch_exception_translator_registry.hpp
index 3123e93d..32917d41 100644
--- a/src/catch2/internal/catch_exception_translator_registry.hpp
+++ b/src/catch2/internal/catch_exception_translator_registry.hpp
@@ -11,7 +11,6 @@
#include <catch2/interfaces/catch_interfaces_exception.hpp>
#include <catch2/internal/catch_unique_ptr.hpp>
-#include <vector>
#include <string>
namespace Catch {
diff --git a/src/catch2/internal/catch_is_permutation.hpp b/src/catch2/internal/catch_is_permutation.hpp
index c77a6d3b..2bde03b8 100644
--- a/src/catch2/internal/catch_is_permutation.hpp
+++ b/src/catch2/internal/catch_is_permutation.hpp
@@ -8,7 +8,6 @@
#ifndef CATCH_IS_PERMUTATION_HPP_INCLUDED
#define CATCH_IS_PERMUTATION_HPP_INCLUDED
-#include <algorithm>
#include <iterator>
namespace Catch {
diff --git a/src/catch2/internal/catch_istream.cpp b/src/catch2/internal/catch_istream.cpp
index 2867ce74..717da0e7 100644
--- a/src/catch2/internal/catch_istream.cpp
+++ b/src/catch2/internal/catch_istream.cpp
@@ -14,8 +14,6 @@
#include <cstdio>
#include <fstream>
-#include <sstream>
-#include <vector>
namespace Catch {
diff --git a/src/catch2/internal/catch_sharding.hpp b/src/catch2/internal/catch_sharding.hpp
index 22561f4b..4d7ee269 100644
--- a/src/catch2/internal/catch_sharding.hpp
+++ b/src/catch2/internal/catch_sharding.hpp
@@ -9,7 +9,6 @@
#define CATCH_SHARDING_HPP_INCLUDED
#include <cassert>
-#include <cmath>
#include <algorithm>
namespace Catch {
diff --git a/src/catch2/internal/catch_stringref.cpp b/src/catch2/internal/catch_stringref.cpp
index 232498eb..5b593545 100644
--- a/src/catch2/internal/catch_stringref.cpp
+++ b/src/catch2/internal/catch_stringref.cpp
@@ -10,7 +10,6 @@
#include <algorithm>
#include <ostream>
#include <cstring>
-#include <cstdint>
namespace Catch {
StringRef::StringRef( char const* rawChars ) noexcept