From 926e3613829f1f49e0fdc7565fe3c43fd2c79631 Mon Sep 17 00:00:00 2001 From: "Emery Goss (AIVAS-v2:Ubuntu-20.04)" Date: Fri, 11 Nov 2022 22:50:44 -0600 Subject: [PATCH] Make MatcherGenericBase copy constructor take const parameter. --- src/catch2/matchers/catch_matchers_templated.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/catch2/matchers/catch_matchers_templated.hpp b/src/catch2/matchers/catch_matchers_templated.hpp index cafb0a289c..232d580f78 100644 --- a/src/catch2/matchers/catch_matchers_templated.hpp +++ b/src/catch2/matchers/catch_matchers_templated.hpp @@ -24,7 +24,7 @@ namespace Matchers { MatcherGenericBase() = default; ~MatcherGenericBase() override; // = default; - MatcherGenericBase(MatcherGenericBase&) = default; + MatcherGenericBase(MatcherGenericBase const&) = default; MatcherGenericBase(MatcherGenericBase&&) = default; MatcherGenericBase& operator=(MatcherGenericBase const&) = delete;