Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2023-05-29 21:41:51 +0200
committerMartin Hořeňovský2023-05-29 21:45:30 +0200
commitdff7513b289f823fec91010f8898b8a01f7dcd12 (patch)
tree544516d430b5f4b9fef144cac58b316fbd320c2e /tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp
parentbf5aa7b383b143ba9939fad289d1f7a41f07f8cd (diff)
downloadcatch3-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.cpp4
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 )
{}