Fix XmlReporter always writing first line to stdout

This commit is contained in:
Martin Hořeňovský 2016-11-26 12:11:23 +01:00
parent 30cebd6177
commit 40b6ad73df

View File

@ -20,6 +20,7 @@ namespace Catch {
public:
XmlReporter( ReporterConfig const& _config )
: StreamingReporterBase( _config ),
m_xml(_config.stream()),
m_sectionDepth( 0 )
{
m_reporterPrefs.shouldRedirectStdOut = true;