From 3ddd46c3079d3382aa30932b3fa660484e383648 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 15 Feb 2005 11:15:54 +0000 Subject: (format_xml_entries): Moved the stream finalization to flush(), where it belongs. --- format.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'format.h') diff --git a/format.h b/format.h index fdab9155..d1b7a8dc 100644 --- a/format.h +++ b/format.h @@ -135,7 +135,9 @@ class format_xml_entries : public format_entries : format_entries(output_stream, ""), show_totals(_show_totals) { output_stream << "\n\n"; } - virtual ~format_xml_entries() { + + virtual void flush() { + format_entries::flush(); output_stream << "" << std::endl; } -- cgit v1.2.3