mirror of
https://github.com/catchorg/Catch2.git
synced 2025-11-02 16:11:50 +01:00
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:
@@ -29,7 +29,7 @@ namespace Matchers {
|
||||
}
|
||||
|
||||
|
||||
StringMatcherBase::StringMatcherBase( std::string operation, CasedString const& comparator )
|
||||
StringMatcherBase::StringMatcherBase( std::string const& operation, CasedString const& comparator )
|
||||
: m_comparator( comparator ),
|
||||
m_operation( operation ) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user