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

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEmery Goss (AIVAS-v2:Ubuntu-20.04)2022-11-11 22:50:44 -0600
committerMartin Hořeňovský2022-11-12 12:22:35 +0100
commitb980d408b19d7d232cde6293c44d002d7fadb1ea (patch)
treec52c528c88814acd4c638d958c424df2a593e460
parent41990e0fe6274d716134eecfd4d780e976c8fbf5 (diff)
downloadcatch3-b980d408b19d7d232cde6293c44d002d7fadb1ea.tar.gz
Make MatcherGenericBase copy constructor take const parameter.
-rw-r--r--src/catch2/matchers/catch_matchers_templated.hpp2
1 files changed, 1 insertions, 1 deletions
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;