Take std::string by const-ref where possible
Most places already do, this brings over some forgotten places. Also close #842
This commit is contained in:
parent
932a405e18
commit
e95bf48445
5 changed files with 7 additions and 7 deletions
|
@ -26,7 +26,7 @@ namespace Matchers {
|
|||
};
|
||||
|
||||
struct StringMatcherBase : MatcherBase<std::string> {
|
||||
StringMatcherBase( std::string operation, CasedString const& comparator );
|
||||
StringMatcherBase( std::string const& operation, CasedString const& comparator );
|
||||
virtual std::string describe() const CATCH_OVERRIDE;
|
||||
|
||||
CasedString m_comparator;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue