diff options
| author | Martin Hořeňovský | 2023-05-29 21:41:51 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2023-05-29 21:45:30 +0200 |
| commit | dff7513b289f823fec91010f8898b8a01f7dcd12 (patch) | |
| tree | 544516d430b5f4b9fef144cac58b316fbd320c2e /tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp | |
| parent | bf5aa7b383b143ba9939fad289d1f7a41f07f8cd (diff) | |
| download | catch3-dff7513b289f823fec91010f8898b8a01f7dcd12.tar.gz | |
Static analysis cleanup in tests
Diffstat (limited to 'tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp')
| -rw-r--r-- | tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp b/tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp index b74580c6..1568c951 100644 --- a/tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp @@ -163,7 +163,7 @@ namespace { std::vector<std::string>& recorder, Catch::IConfig const* config ): EventListenerBase( config ), - m_witness( witness ), + m_witness( CATCH_MOVE(witness) ), m_recorder( recorder ) {} @@ -181,7 +181,7 @@ namespace { std::vector<std::string>& recorder, Catch::ReporterConfig&& config ): StreamingReporterBase( CATCH_MOVE(config) ), - m_witness( witness ), + m_witness( CATCH_MOVE(witness) ), m_recorder( recorder ) {} |