From 47567307ce2da0d9ac2d5267bd6328a2a30ee7c5 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 9 Feb 2009 17:41:55 -0400 Subject: Removed reference to session_t from the iterators module. --- src/report.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/report.cc') diff --git a/src/report.cc b/src/report.cc index 77cdf59c..9dea33db 100644 --- a/src/report.cc +++ b/src/report.cc @@ -93,7 +93,7 @@ report_t::report_t(session_t& _session) : session(_session) void report_t::xacts_report(xact_handler_ptr handler) { - session_xacts_iterator walker(session); + journal_xacts_iterator walker(*session.journal.get()); pass_down_xacts(chain_xact_handlers(*this, handler), walker); session.clean_xacts(); } @@ -110,7 +110,7 @@ void report_t::sum_all_accounts() expr_t& expr(HANDLER(amount_).expr); expr.set_context(this); - session_xacts_iterator walker(session); + journal_xacts_iterator walker(*session.journal.get()); pass_down_xacts (chain_xact_handlers(*this, xact_handler_ptr(new set_account_value(expr)), false), walker); -- cgit v1.2.3