From 17b29a63782b04b9044e8ece2fc21e8a7b170f0b Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 2 Jun 2010 03:36:09 -0400 Subject: Inlined the print_xacts constructor --- src/print.cc | 7 ------- src/print.h | 5 ++++- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/print.cc b/src/print.cc index a8aa5872..f93f5fe8 100644 --- a/src/print.cc +++ b/src/print.cc @@ -40,13 +40,6 @@ namespace ledger { -print_xacts::print_xacts(report_t& _report, - bool _print_raw) - : report(_report), print_raw(_print_raw), first_title(true) -{ - TRACE_CTOR(print_xacts, "report&, bool"); -} - namespace { void print_note(std::ostream& out, const string& note, diff --git a/src/print.h b/src/print.h index 5263ec91..f6ef0868 100644 --- a/src/print.h +++ b/src/print.h @@ -65,7 +65,10 @@ protected: bool first_title; public: - print_xacts(report_t& _report, bool _print_raw = false); + print_xacts(report_t& _report, bool _print_raw = false) + : report(_report), print_raw(_print_raw), first_title(true) { + TRACE_CTOR(print_xacts, "report&, bool"); + } virtual ~print_xacts() { TRACE_DTOR(print_xacts); } -- cgit v1.2.3