From 9c9a34388a0697c4c4c4bd126ec8dd7e1244cd48 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 4 Aug 2008 16:24:41 -0400 Subject: First round of work to get the balance report working again. --- xml.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'xml.h') diff --git a/xml.h b/xml.h index 0e86163c..38768cff 100644 --- a/xml.h +++ b/xml.h @@ -61,12 +61,12 @@ class format_xml_entries : public format_entries format_xml_entries(); public: - format_xml_entries(std::ostream& output_stream, + format_xml_entries(report_t& _report, const bool _show_totals = false) - : format_entries(output_stream, ""), show_totals(_show_totals) { + : format_entries(_report, ""), show_totals(_show_totals) { TRACE_CTOR(format_xml_entries, "std::ostream&, const bool"); - output_stream << "\n" - << "\n"; + *report.output_stream << "\n" + << "\n"; } virtual ~format_xml_entries() throw() { TRACE_DTOR(format_xml_entries); @@ -74,7 +74,7 @@ public: virtual void flush() { format_entries::flush(); - output_stream << "" << std::endl; + *report.output_stream << "" << std::endl; } virtual void format_last_entry(); -- cgit v1.2.3