From b980d408b19d7d232cde6293c44d002d7fadb1ea 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 cafb0a28..232d580f 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;