summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-02 03:36:09 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-02 03:39:29 -0400
commit17b29a63782b04b9044e8ece2fc21e8a7b170f0b (patch)
tree83392de92967d9320a1db757c38c237ca035f2ca /src
parentd6a559959cd86d56d5081b7acfcdaeea89c26192 (diff)
downloadfork-ledger-17b29a63782b04b9044e8ece2fc21e8a7b170f0b.tar.gz
fork-ledger-17b29a63782b04b9044e8ece2fc21e8a7b170f0b.tar.bz2
fork-ledger-17b29a63782b04b9044e8ece2fc21e8a7b170f0b.zip
Inlined the print_xacts constructor
Diffstat (limited to 'src')
-rw-r--r--src/print.cc7
-rw-r--r--src/print.h5
2 files changed, 4 insertions, 8 deletions
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);
}