summaryrefslogtreecommitdiff
path: root/src/report.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-09 17:41:55 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-09 17:41:55 -0400
commit47567307ce2da0d9ac2d5267bd6328a2a30ee7c5 (patch)
treec01745008d39af7ad179e6f65958e9af094b4261 /src/report.cc
parent6ca01af594148e12cd8e1da87302644a0bbae3a0 (diff)
downloadfork-ledger-47567307ce2da0d9ac2d5267bd6328a2a30ee7c5.tar.gz
fork-ledger-47567307ce2da0d9ac2d5267bd6328a2a30ee7c5.tar.bz2
fork-ledger-47567307ce2da0d9ac2d5267bd6328a2a30ee7c5.zip
Removed reference to session_t from the iterators module.
Diffstat (limited to 'src/report.cc')
-rw-r--r--src/report.cc4
1 files changed, 2 insertions, 2 deletions
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);