diff options
| author | Martin Hořeňovský | 2023-03-12 00:39:18 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2023-03-12 00:39:18 +0100 |
| commit | 8e5a4b6f706b705844665ad99bf3e59980d5b4c5 (patch) | |
| tree | 2b41f9e874c57e0a30f2c5011c9e4b69994b5e40 | |
| parent | 9b884d8107b9061fc345e02bb129ebb62febc847 (diff) | |
| download | catch3-8e5a4b6f706b705844665ad99bf3e59980d5b4c5.tar.gz | |
Remove superfluous pointer copy in AssertionStats constructor
| -rw-r--r-- | src/catch2/interfaces/catch_interfaces_reporter.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/catch2/interfaces/catch_interfaces_reporter.cpp b/src/catch2/interfaces/catch_interfaces_reporter.cpp index 67c5c80e..3274bcf5 100644 --- a/src/catch2/interfaces/catch_interfaces_reporter.cpp +++ b/src/catch2/interfaces/catch_interfaces_reporter.cpp @@ -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 |