mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
Pass StringRef by value instead of by const-ref
This commit is contained in:
parent
28f6698ec8
commit
0a89e7f0c4
@ -194,7 +194,7 @@ Catch::LeakDetector::~LeakDetector() {
|
||||
|
||||
namespace Catch {
|
||||
|
||||
MessageInfo::MessageInfo( StringRef const& _macroName,
|
||||
MessageInfo::MessageInfo( StringRef _macroName,
|
||||
SourceLineInfo const& _lineInfo,
|
||||
ResultWas::OfType _type )
|
||||
: macroName( _macroName ),
|
||||
|
@ -17,7 +17,7 @@
|
||||
namespace Catch {
|
||||
|
||||
struct MessageInfo {
|
||||
MessageInfo( StringRef const& _macroName,
|
||||
MessageInfo( StringRef _macroName,
|
||||
SourceLineInfo const& _lineInfo,
|
||||
ResultWas::OfType _type );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user