diff options
| author | Emery Goss (AIVAS-v2:Ubuntu-20.04) | 2022-11-11 22:50:44 -0600 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-11-12 12:22:35 +0100 |
| commit | b980d408b19d7d232cde6293c44d002d7fadb1ea (patch) | |
| tree | c52c528c88814acd4c638d958c424df2a593e460 /src/catch2 | |
| parent | 41990e0fe6274d716134eecfd4d780e976c8fbf5 (diff) | |
| download | catch3-b980d408b19d7d232cde6293c44d002d7fadb1ea.tar.gz | |
Make MatcherGenericBase copy constructor take const parameter.
Diffstat (limited to 'src/catch2')
| -rw-r--r-- | src/catch2/matchers/catch_matchers_templated.hpp | 2 |
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; |