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

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/interfaces/catch_interfaces_combined_tu.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-08-23 18:16:10 +0200
committerMartin Hořeňovský2020-08-23 21:01:04 +0200
commit9677df6d8b4a8b8e7a1b677068975af2caca5cc9 (patch)
tree920c0f847f720b3e55ba14cc4d9de12cfc4d13c7 /src/catch2/interfaces/catch_interfaces_combined_tu.cpp
parented7eaf2df3dc4d38974234591d725c4cdba11a84 (diff)
downloadcatch3-9677df6d8b4a8b8e7a1b677068975af2caca5cc9.tar.gz
Split IReporterRegistry into its own header file
Doing this removes `<map>` from the include set of the base reporter interface, and thus from bunch more TUs. This provides about 1.5% improvements in the debug build of the static library, and 1% in release build.
Diffstat (limited to 'src/catch2/interfaces/catch_interfaces_combined_tu.cpp')
-rw-r--r--src/catch2/interfaces/catch_interfaces_combined_tu.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/catch2/interfaces/catch_interfaces_combined_tu.cpp b/src/catch2/interfaces/catch_interfaces_combined_tu.cpp
index e35b865e..c196e872 100644
--- a/src/catch2/interfaces/catch_interfaces_combined_tu.cpp
+++ b/src/catch2/interfaces/catch_interfaces_combined_tu.cpp
@@ -77,3 +77,9 @@ namespace Catch {
ITestInvoker::~ITestInvoker() = default;
ITestCaseRegistry::~ITestCaseRegistry() = default;
}
+
+
+#include <catch2/interfaces/catch_interfaces_reporter_registry.hpp>
+namespace Catch {
+ IReporterRegistry::~IReporterRegistry() = default;
+}