Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorMartin Hořeňovský2016-11-26 12:11:23 +0100
committerMartin Hořeňovský2016-11-26 12:11:23 +0100
commit40b6ad73df8a2cf9d720f77b3e7ddc7dc11647f1 (patch)
tree5a7b04e1495618cf14091ab38d25c76bad8191bc /include
parent30cebd617788f6b399297725f97317f9bc462114 (diff)
downloadcatch3-40b6ad73df8a2cf9d720f77b3e7ddc7dc11647f1.tar.gz
Fix XmlReporter always writing first line to stdout
Diffstat (limited to 'include')
-rw-r--r--include/reporters/catch_reporter_xml.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/reporters/catch_reporter_xml.hpp b/include/reporters/catch_reporter_xml.hpp
index 153f0e7a..5a954740 100644
--- a/include/reporters/catch_reporter_xml.hpp
+++ b/include/reporters/catch_reporter_xml.hpp
@@ -20,6 +20,7 @@ namespace Catch {
public:
XmlReporter( ReporterConfig const& _config )
: StreamingReporterBase( _config ),
+ m_xml(_config.stream()),
m_sectionDepth( 0 )
{
m_reporterPrefs.shouldRedirectStdOut = true;