From 961b30926b3b9f2b3e9c1a99df3f25fea6b13118 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 26 Jul 2008 04:08:55 -0400 Subject: --verify works again, but the memory totals at the end still need work. --- emacs.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'emacs.h') diff --git a/emacs.h b/emacs.h index ea58bad8..1a362cb2 100644 --- a/emacs.h +++ b/emacs.h @@ -8,13 +8,20 @@ namespace ledger { class format_emacs_transactions : public item_handler { - protected: + format_emacs_transactions(); + +protected: std::ostream& out; entry_t * last_entry; - public: +public: format_emacs_transactions(std::ostream& _out) - : out(_out), last_entry(NULL) {} + : out(_out), last_entry(NULL) { + TRACE_CTOR(format_emacs_transactions, "std::ostream&"); + } + ~format_emacs_transactions() { + TRACE_DTOR(format_emacs_transactions); + } virtual void write_entry(entry_t& entry); virtual void flush() { -- cgit v1.2.3