summaryrefslogtreecommitdiff
path: root/format.h
diff options
context:
space:
mode:
Diffstat (limited to 'format.h')
-rw-r--r--format.h4
1 files changed, 3 insertions, 1 deletions
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 << "<?xml version=\"1.0\"?>\n<ledger>\n";
}
- virtual ~format_xml_entries() {
+
+ virtual void flush() {
+ format_entries::flush();
output_stream << "</ledger>" << std::endl;
}