MCPcopy Create free account
hub / github.com/Profactor/cv-plot / addReporter

Method addReporter

CvPlot/ext/catch2/inc/catch.hpp:16737–16741  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16735 }
16736
16737 void ListeningReporter::addReporter(IStreamingReporterPtr&& reporter) {
16738 assert(!m_reporter && "Listening reporter can wrap only 1 real reporter");
16739 m_reporter = std::move( reporter );
16740 m_preferences.shouldRedirectStdOut = m_reporter->getPreferences().shouldRedirectStdOut;
16741 }
16742
16743 ReporterPreferences ListeningReporter::getPreferences() const {
16744 return m_preferences;

Callers 1

makeReporterFunction · 0.80

Calls 1

getPreferencesMethod · 0.45

Tested by

no test coverage detected