mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Remove superfluous pointer copy in AssertionStats constructor
This commit is contained in:
parent
9b884d8107
commit
8e5a4b6f70
@ -54,8 +54,6 @@ namespace Catch {
|
|||||||
infoMessages( _infoMessages ),
|
infoMessages( _infoMessages ),
|
||||||
totals( _totals )
|
totals( _totals )
|
||||||
{
|
{
|
||||||
assertionResult.m_resultData.lazyExpression.m_transientExpression = _assertionResult.m_resultData.lazyExpression.m_transientExpression;
|
|
||||||
|
|
||||||
if( assertionResult.hasMessage() ) {
|
if( assertionResult.hasMessage() ) {
|
||||||
// Copy message into messages list.
|
// Copy message into messages list.
|
||||||
// !TBD This should have been done earlier, somewhere
|
// !TBD This should have been done earlier, somewhere
|
||||||
|
Loading…
Reference in New Issue
Block a user