| 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; |
no test coverage detected