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

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/catch_registry_hub.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2023-03-13 00:03:48 +0100
committerMartin Hořeňovský2023-03-22 23:58:44 +0100
commitd0f70fdfd661b50c1b8721ae70d49656dc68929b (patch)
tree04945f8cd0b93afe4fb345e9e942ad1f6028b2f9 /src/catch2/catch_registry_hub.cpp
parent4f4ad8ada9d17292bb7435043b5453457a24a016 (diff)
downloadcatch3-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/catch_registry_hub.cpp')
-rw-r--r--src/catch2/catch_registry_hub.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/catch2/catch_registry_hub.cpp b/src/catch2/catch_registry_hub.cpp
index 243dd2b0..0e43db92 100644
--- a/src/catch2/catch_registry_hub.cpp
+++ b/src/catch2/catch_registry_hub.cpp
@@ -20,6 +20,7 @@
#include <catch2/internal/catch_noncopyable.hpp>
#include <catch2/interfaces/catch_interfaces_reporter_factory.hpp>
#include <catch2/internal/catch_move_and_forward.hpp>
+#include <catch2/internal/catch_reporter_registry.hpp>
namespace Catch {
@@ -31,7 +32,7 @@ namespace Catch {
public: // IRegistryHub
RegistryHub() = default;
- IReporterRegistry const& getReporterRegistry() const override {
+ ReporterRegistry const& getReporterRegistry() const override {
return m_reporterRegistry;
}
ITestCaseRegistry const& getTestCaseRegistry() const override {