summaryrefslogtreecommitdiff
path: root/src/output.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-30 19:03:23 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-30 19:03:28 -0400
commit63aa8992a81dfaececa4a9b38ba8daf29b57912e (patch)
tree808871837734f3779c369e71774f30fde7d89034 /src/output.cc
parenta3799eebdb682162eb1edb3706a6ff1097b12f41 (diff)
downloadfork-ledger-63aa8992a81dfaececa4a9b38ba8daf29b57912e.tar.gz
fork-ledger-63aa8992a81dfaececa4a9b38ba8daf29b57912e.tar.bz2
fork-ledger-63aa8992a81dfaececa4a9b38ba8daf29b57912e.zip
Moved ownership of master account into journal_t
The journal_t now completely represents the data part of a session.
Diffstat (limited to 'src/output.cc')
-rw-r--r--src/output.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output.cc b/src/output.cc
index 371319bd..e2bbb7ec 100644
--- a/src/output.cc
+++ b/src/output.cc
@@ -203,7 +203,7 @@ void format_accounts::flush()
disp_pred.predicate.parse(report.HANDLER(display_).str());
}
- mark_accounts(*report.session.master, report.HANDLED(flat));
+ mark_accounts(*report.session.journal->master, report.HANDLED(flat));
std::size_t displayed = 0;
@@ -212,7 +212,7 @@ void format_accounts::flush()
if (displayed > 1 &&
! report.HANDLED(no_total) && ! report.HANDLED(percent)) {
- bind_scope_t bound_scope(report, *report.session.master);
+ bind_scope_t bound_scope(report, *report.session.journal->master);
separator_format.format(out, bound_scope);
total_line_format.format(out, bound_scope);
}