Merge branch 'xml-reporter-fix' of https://github.com/horenmar/Catch into horenmar-xml-reporter-fix

This commit is contained in:
Phil Nash 2016-11-29 12:10:46 +00:00
commit a9561ecb31

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;