Merge branch 'horenmar-xml-reporter-fix'

This commit is contained in:
Phil Nash 2016-11-29 12:11:05 +00:00
commit dedc7c56ce

View File

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