diff --git a/single_include/catch.hpp b/single_include/catch.hpp index 6f9334ba..63e024b5 100644 --- a/single_include/catch.hpp +++ b/single_include/catch.hpp @@ -10896,7 +10896,7 @@ namespace Catch { stream << result.getSourceInfo() << ':'; } - void printResultType( Colour::Code colour, std::string passOrFail ) const { + void printResultType( Colour::Code colour, std::string const& passOrFail ) const { if( !passOrFail.empty() ) { { Colour colourGuard( colour ); @@ -10906,7 +10906,7 @@ namespace Catch { } } - void printIssue( std::string issue ) const { + void printIssue( std::string const& issue ) const { stream << ' ' << issue; }