summaryrefslogtreecommitdiff
path: root/format.h
diff options
context:
space:
mode:
Diffstat (limited to 'format.h')
-rw-r--r--format.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/format.h b/format.h
index ba488f68..dd578dbd 100644
--- a/format.h
+++ b/format.h
@@ -113,10 +113,6 @@ class format_transactions : public item_handler<transaction_t>
first_line_format(_first_line_format),
next_lines_format(_next_lines_format), last_entry(NULL) {}
- virtual ~format_transactions() {
- flush();
- }
-
virtual void flush() {
output_stream.flush();
}
@@ -148,10 +144,6 @@ class format_account : public item_handler<account_t>
: output_stream(_output_stream), format(_format),
disp_pred(display_predicate) {}
- virtual ~format_account() {
- flush();
- }
-
static bool disp_subaccounts_p(const account_t * account,
const item_predicate<account_t>& disp_pred,
const account_t *& to_show);
@@ -201,10 +193,6 @@ class format_equity : public item_handler<account_t>
first_line_format.format_elements(output_stream, details_t(&header_entry));
}
- virtual ~format_equity() {
- flush();
- }
-
virtual void flush() {
account_t summary(NULL, "Equity:Opening Balances");
summary.value = - total;