Address more of PVS studio warnings
This commit is contained in:
1 parent
46bf7605f4
commit
b6f62af7d1
4 files changed
+7
-7
No files matched your search
@@ -91,7 +91,7 @@ namespace Catch {
|
||||
std::string actualMessage = Catch::translateActiveException();
|
||||
if( !matcher.match( actualMessage ) ) {
|
||||
data.resultType = ResultWas::ExpressionFailed;
|
||||
data.reconstructedExpression = actualMessage;
|
||||
data.reconstructedExpression = std::move(actualMessage);
|
||||
}
|
||||
AssertionResult result( m_assertionInfo, data );
|
||||
handleResult( result );
|
||||
|
||||
Reference in new issue
Block a user