summaryrefslogtreecommitdiff
path: root/csv.h
diff options
context:
space:
mode:
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();
}