MCPcopy Create free account
hub / github.com/RenderKit/oidn / addReporter

Method addReporter

external/catch.hpp:17069–17073  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17067 }
17068
17069 void ListeningReporter::addReporter(IStreamingReporterPtr&& reporter) {
17070 assert(!m_reporter && "Listening reporter can wrap only 1 real reporter");
17071 m_reporter = std::move( reporter );
17072 m_preferences.shouldRedirectStdOut = m_reporter->getPreferences().shouldRedirectStdOut;
17073 }
17074
17075 ReporterPreferences ListeningReporter::getPreferences() const {
17076 return m_preferences;

Callers 1

makeReporterFunction · 0.80

Calls 1

getPreferencesMethod · 0.45

Tested by

no test coverage detected