diff options
| author | Martin Hořeňovský | 2023-03-13 00:03:48 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2023-03-22 23:58:44 +0100 |
| commit | d0f70fdfd661b50c1b8721ae70d49656dc68929b (patch) | |
| tree | 04945f8cd0b93afe4fb345e9e942ad1f6028b2f9 /src/catch2/internal/catch_commandline.cpp | |
| parent | 4f4ad8ada9d17292bb7435043b5453457a24a016 (diff) | |
| download | catch3-d0f70fdfd661b50c1b8721ae70d49656dc68929b.tar.gz | |
Unify IReporterRegistry and ReporterRegistry
To keep the compilation firewall effect, the implementations
are hidden behind a PIMPL. In this case it is probably not
worth it, but we can inline it later if needed.
Diffstat (limited to 'src/catch2/internal/catch_commandline.cpp')
| -rw-r--r-- | src/catch2/internal/catch_commandline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/catch2/internal/catch_commandline.cpp b/src/catch2/internal/catch_commandline.cpp index 81aa073c..4ac1847b 100644 --- a/src/catch2/internal/catch_commandline.cpp +++ b/src/catch2/internal/catch_commandline.cpp @@ -10,7 +10,7 @@ #include <catch2/catch_config.hpp> #include <catch2/internal/catch_string_manip.hpp> #include <catch2/interfaces/catch_interfaces_registry_hub.hpp> -#include <catch2/interfaces/catch_interfaces_reporter_registry.hpp> +#include <catch2/internal/catch_reporter_registry.hpp> #include <catch2/internal/catch_console_colour.hpp> #include <catch2/internal/catch_parse_numbers.hpp> #include <catch2/internal/catch_reporter_spec_parser.hpp> @@ -144,7 +144,7 @@ namespace Catch { auto const& reporterSpec = *parsed; - IReporterRegistry::FactoryMap const& factories = + auto const& factories = getRegistryHub().getReporterRegistry().getFactories(); auto result = factories.find( reporterSpec.name() ); |