Static analysis cleanup in tests

This commit is contained in:
Martin Hořeňovský
2023-05-29 21:41:51 +02:00
parent bf5aa7b383
commit dff7513b28
3 changed files with 5 additions and 5 deletions

View File

@@ -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 )
{}