Remove superfluous pointer copy in AssertionStats constructor

This commit is contained in:
Martin Hořeňovský 2023-03-12 00:39:18 +01:00
parent 9b884d8107
commit 8e5a4b6f70
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -54,8 +54,6 @@ namespace Catch {
infoMessages( _infoMessages ),
totals( _totals )
{
assertionResult.m_resultData.lazyExpression.m_transientExpression = _assertionResult.m_resultData.lazyExpression.m_transientExpression;
if( assertionResult.hasMessage() ) {
// Copy message into messages list.
// !TBD This should have been done earlier, somewhere