From 125d4b41643ab410545d7c1cc8dabd7f862f5277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Mon, 27 Jul 2020 08:49:49 +0200 Subject: [PATCH] Devirtualize test case registration --- src/catch2/internal/catch_test_case_registry_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/catch2/internal/catch_test_case_registry_impl.hpp b/src/catch2/internal/catch_test_case_registry_impl.hpp index b7f49523..01a2c349 100644 --- a/src/catch2/internal/catch_test_case_registry_impl.hpp +++ b/src/catch2/internal/catch_test_case_registry_impl.hpp @@ -35,7 +35,7 @@ namespace Catch { public: ~TestRegistry() override = default; - virtual void registerTest( Detail::unique_ptr testInfo, Detail::unique_ptr testInvoker ); + void registerTest( Detail::unique_ptr testInfo, Detail::unique_ptr testInvoker ); std::vector const& getAllInfos() const override; std::vector const& getAllTests() const override;