diff options
| author | Martin Hořeňovský | 2023-05-16 18:41:19 +0200 |
|---|---|---|
| committer | GitHub | 2023-05-16 18:41:19 +0200 |
| commit | 06c0e1cfab2a2fd6d01527b92422df2a8c49a8d7 (patch) | |
| tree | d4f239ace44577fd55edd853f78951c49419fdf6 /src | |
| parent | f53bb3ae7b145f6d1e2f728980f8ef64b6f1d8fa (diff) | |
| parent | 05d7eb5a0028906e4c6270b2340ae0d88d3cfa2a (diff) | |
| download | catch3-06c0e1cfab2a2fd6d01527b92422df2a8c49a8d7.tar.gz | |
Merge pull request #2689 from ThePhD/fix/includes/header-exception
🛠💚 Add <exception> header where strictly necessary
Diffstat (limited to 'src')
| -rw-r--r-- | src/catch2/benchmark/catch_benchmark.hpp | 1 | ||||
| -rw-r--r-- | src/catch2/catch_registry_hub.cpp | 2 | ||||
| -rw-r--r-- | src/catch2/catch_session.cpp | 1 | ||||
| -rw-r--r-- | src/catch2/internal/catch_exception_translator_registry.cpp | 2 |
4 files changed, 6 insertions, 0 deletions
diff --git a/src/catch2/benchmark/catch_benchmark.hpp b/src/catch2/benchmark/catch_benchmark.hpp index 3623133d..99d1c9df 100644 --- a/src/catch2/benchmark/catch_benchmark.hpp +++ b/src/catch2/benchmark/catch_benchmark.hpp @@ -30,6 +30,7 @@ #include <algorithm> #include <chrono> +#include <exception> #include <functional> #include <string> #include <vector> diff --git a/src/catch2/catch_registry_hub.cpp b/src/catch2/catch_registry_hub.cpp index 0e43db92..8716db3a 100644 --- a/src/catch2/catch_registry_hub.cpp +++ b/src/catch2/catch_registry_hub.cpp @@ -22,6 +22,8 @@ #include <catch2/internal/catch_move_and_forward.hpp> #include <catch2/internal/catch_reporter_registry.hpp> +#include <exception> + namespace Catch { namespace { diff --git a/src/catch2/catch_session.cpp b/src/catch2/catch_session.cpp index 86e215a9..f1ed5f9c 100644 --- a/src/catch2/catch_session.cpp +++ b/src/catch2/catch_session.cpp @@ -27,6 +27,7 @@ #include <algorithm> #include <cassert> +#include <exception> #include <iomanip> #include <set> diff --git a/src/catch2/internal/catch_exception_translator_registry.cpp b/src/catch2/internal/catch_exception_translator_registry.cpp index 0805d74c..f3d47c0c 100644 --- a/src/catch2/internal/catch_exception_translator_registry.cpp +++ b/src/catch2/internal/catch_exception_translator_registry.cpp @@ -11,6 +11,8 @@ #include <catch2/internal/catch_test_failure_exception.hpp> #include <catch2/internal/catch_move_and_forward.hpp> +#include <exception> + namespace Catch { namespace { |