Address more of PVS studio warnings

This commit is contained in:
Martin Hořeňovský 2017-07-25 15:45:50 +02:00
parent 46bf7605f4
commit b6f62af7d1
4 changed files with 7 additions and 7 deletions

View file

@ -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 );