Address more of PVS studio warnings

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

No files matched your search

+1 -1
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 );