Removed redundant .c_str()s from StringRef usages
This commit is contained in:
parent
fa3535e95e
commit
ece64c3b3a
9 changed files with 24 additions and 17 deletions
|
@ -42,7 +42,7 @@ namespace Catch {
|
|||
if( assertionResult.hasMessage() ) {
|
||||
// Copy message into messages list.
|
||||
// !TBD This should have been done earlier, somewhere
|
||||
MessageBuilder builder( assertionResult.getTestMacroName().c_str(), assertionResult.getSourceInfo(), assertionResult.getResultType() );
|
||||
MessageBuilder builder( assertionResult.getTestMacroName(), assertionResult.getSourceInfo(), assertionResult.getResultType() );
|
||||
builder << assertionResult.getMessage();
|
||||
builder.m_info.message = builder.m_stream.str();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue