Skip to content

Commit

Permalink
Make MatcherGenericBase copy constructor take const parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
mry792 authored and horenmar committed Nov 12, 2022
1 parent 41990e0 commit b980d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/catch2/matchers/catch_matchers_templated.hpp
Expand Up @@ -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;
Expand Down

0 comments on commit b980d40

Please sign in to comment.