diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-20 02:10:40 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-20 02:10:40 -0500 |
commit | 22505d9527edce59cd3cf90c5241e4bd809eb8a2 (patch) | |
tree | d943b2dba416a9fbe8619e02a293dfd854fd0869 /src/output.cc | |
parent | df11ecbbd733068284a19369949bcaa20b0e6e76 (diff) | |
download | fork-ledger-22505d9527edce59cd3cf90c5241e4bd809eb8a2.tar.gz fork-ledger-22505d9527edce59cd3cf90c5241e4bd809eb8a2.tar.bz2 fork-ledger-22505d9527edce59cd3cf90c5241e4bd809eb8a2.zip |
Always call TRACE_CTOR at the end of constructors
Diffstat (limited to 'src/output.cc')
-rw-r--r-- | src/output.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/output.cc b/src/output.cc index aaf81f60..742000bd 100644 --- a/src/output.cc +++ b/src/output.cc @@ -47,8 +47,6 @@ format_posts::format_posts(report_t& _report, : report(_report), prepend_width(_prepend_width), last_xact(NULL), last_post(NULL), first_report_title(true) { - TRACE_CTOR(format_posts, "report&, const string&, bool"); - const char * f = format.c_str(); if (const char * p = std::strstr(f, "%/")) { @@ -70,6 +68,8 @@ format_posts::format_posts(report_t& _report, if (_prepend_format) prepend_format.parse_format(*_prepend_format); + + TRACE_CTOR(format_posts, "report&, const string&, bool"); } void format_posts::flush() @@ -131,8 +131,6 @@ format_accounts::format_accounts(report_t& _report, : report(_report), prepend_width(_prepend_width), disp_pred(), first_report_title(true) { - TRACE_CTOR(format_accounts, "report&, const string&"); - const char * f = format.c_str(); if (const char * p = std::strstr(f, "%/")) { @@ -154,6 +152,8 @@ format_accounts::format_accounts(report_t& _report, if (_prepend_format) prepend_format.parse_format(*_prepend_format); + + TRACE_CTOR(format_accounts, "report&, const string&"); } std::size_t format_accounts::post_account(account_t& account, const bool flat) |