diff options
| author | Martin Hořeňovský | 2020-08-13 14:41:47 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-08-14 09:33:53 +0200 |
| commit | c1bb699d45fd3e6eb349525110983b61d4a936a2 (patch) | |
| tree | 9cd6543fb0fa4f7b7def94c0144daa483992bd48 | |
| parent | bf1e902ca130a9e8d8c9e54da3277e9c0091ffc1 (diff) | |
| download | catch3-c1bb699d45fd3e6eb349525110983b61d4a936a2.tar.gz | |
Remove superfluous catch_reporter_registrars.hpp includes from reporters
The includes were an artifact of the old design where the built-in
reporter TUs used autoregistration to add the reporters to the
factory. Because the current design is to add them explicitly in
the central reporter factory TU, the includes are useless.
| -rw-r--r-- | src/catch2/reporters/catch_reporter_console.cpp | 1 | ||||
| -rw-r--r-- | src/catch2/reporters/catch_reporter_junit.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/catch2/reporters/catch_reporter_console.cpp b/src/catch2/reporters/catch_reporter_console.cpp index 2924c920..5e64e75d 100644 --- a/src/catch2/reporters/catch_reporter_console.cpp +++ b/src/catch2/reporters/catch_reporter_console.cpp @@ -10,7 +10,6 @@ #include <catch2/interfaces/catch_interfaces_config.hpp> #include <catch2/catch_test_spec.hpp> -#include <catch2/catch_reporter_registrars.hpp> #include <catch2/internal/catch_console_colour.hpp> #include <catch2/internal/catch_string_manip.hpp> #include <catch2/catch_version.hpp> diff --git a/src/catch2/reporters/catch_reporter_junit.cpp b/src/catch2/reporters/catch_reporter_junit.cpp index 3b8e2e9a..ff679e71 100644 --- a/src/catch2/reporters/catch_reporter_junit.cpp +++ b/src/catch2/reporters/catch_reporter_junit.cpp @@ -12,7 +12,6 @@ #include <catch2/catch_tostring.hpp> #include <catch2/internal/catch_string_manip.hpp> -#include <catch2/catch_reporter_registrars.hpp> #include <catch2/internal/catch_textflow.hpp> #include <catch2/interfaces/catch_interfaces_config.hpp> #include <catch2/catch_test_case_info.hpp> |