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

Method addReporter

tutorials/external/catch.hpp:14265–14269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14263 }
14264
14265 void ListeningReporter::addReporter(IStreamingReporterPtr&& reporter) {
14266 assert(!m_reporter && "Listening reporter can wrap only 1 real reporter");
14267 m_reporter = std::move( reporter );
14268 m_preferences.shouldRedirectStdOut = m_reporter->getPreferences().shouldRedirectStdOut;
14269 }
14270
14271 ReporterPreferences ListeningReporter::getPreferences() const {
14272 return m_preferences;

Callers 1

makeReporterFunction · 0.80

Calls 1

getPreferencesMethod · 0.45

Tested by

no test coverage detected