| 13958 | } |
| 13959 | |
| 13960 | void ListeningReporter::addReporter(IStreamingReporterPtr&& reporter) { |
| 13961 | assert(!m_reporter && "Listening reporter can wrap only 1 real reporter"); |
| 13962 | m_reporter = std::move( reporter ); |
| 13963 | m_preferences.shouldRedirectStdOut = m_reporter->getPreferences().shouldRedirectStdOut; |
| 13964 | } |
| 13965 | |
| 13966 | ReporterPreferences ListeningReporter::getPreferences() const { |
| 13967 | return m_preferences; |
no test coverage detected