summaryrefslogtreecommitdiff
path: root/csv.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-07-26 04:08:55 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-07-26 04:08:55 -0400
commit961b30926b3b9f2b3e9c1a99df3f25fea6b13118 (patch)
treef0f5efcc0b63f337c4838b8aad46dea2cd7926e4 /csv.h
parentee396957226e2273bc60ede7192c27038c432f24 (diff)
downloadfork-ledger-961b30926b3b9f2b3e9c1a99df3f25fea6b13118.tar.gz
fork-ledger-961b30926b3b9f2b3e9c1a99df3f25fea6b13118.tar.bz2
fork-ledger-961b30926b3b9f2b3e9c1a99df3f25fea6b13118.zip
--verify works again, but the memory totals at the end still need work.
Diffstat (limited to 'csv.h')
-rw-r--r--csv.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/csv.h b/csv.h
index 3b370631..8ec9b350 100644
--- a/csv.h
+++ b/csv.h
@@ -8,11 +8,19 @@ namespace ledger {
class format_csv_transactions : public item_handler<transaction_t>
{
- protected:
+ format_csv_transactions();
+
+protected:
std::ostream& out;
- public:
- format_csv_transactions(std::ostream& _out) : out(_out) {}
+public:
+ format_csv_transactions(std::ostream& _out) : out(_out) {
+ TRACE_CTOR(format_csv_transactions, "std::ostream&");
+ }
+ ~format_csv_transactions() {
+ TRACE_DTOR(format_csv_transactions);
+ }
+
virtual void flush() {
out.flush();
}