From 63aa8992a81dfaececa4a9b38ba8daf29b57912e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 30 Oct 2009 19:03:23 -0400 Subject: Moved ownership of master account into journal_t The journal_t now completely represents the data part of a session. --- src/output.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/output.cc') 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); } -- cgit v1.2.3