summaryrefslogtreecommitdiff
path: root/report.cc
diff options
context:
space:
mode:
Diffstat (limited to 'report.cc')
-rw-r--r--report.cc28
1 files changed, 4 insertions, 24 deletions
diff --git a/report.cc b/report.cc
index 57aa6329..e2d80d94 100644
--- a/report.cc
+++ b/report.cc
@@ -216,7 +216,7 @@ void report_t::transactions_report(xact_handler_ptr handler)
handler->flush();
if (DO_VERIFY())
- clean_transactions();
+ session.clean_transactions();
}
void report_t::entry_report(xact_handler_ptr handler, entry_t& entry)
@@ -226,7 +226,7 @@ void report_t::entry_report(xact_handler_ptr handler, entry_t& entry)
handler->flush();
if (DO_VERIFY())
- clean_transactions(entry);
+ session.clean_transactions(entry);
}
void report_t::sum_all_accounts()
@@ -265,8 +265,8 @@ void report_t::accounts_report(acct_handler_ptr handler,
}
if (DO_VERIFY()) {
- clean_transactions();
- clean_accounts();
+ session.clean_transactions();
+ session.clean_accounts();
}
}
@@ -278,26 +278,6 @@ void report_t::entry_report(const entry_t& entry, const string& format)
{
}
-void report_t::clean_transactions()
-{
- session_transactions_iterator walker(session);
- pass_down_transactions
- (xact_handler_ptr(new clear_transaction_xdata), walker);
-}
-
-void report_t::clean_transactions(entry_t& entry)
-{
- entry_transactions_iterator walker(entry);
- pass_down_transactions(xact_handler_ptr(new clear_transaction_xdata), walker);
-}
-
-void report_t::clean_accounts()
-{
- accounts_iterator acct_walker(*session.master);
- pass_down_accounts<accounts_iterator>
- (acct_handler_ptr(new clear_account_xdata), acct_walker);
-}
-
value_t report_t::abbrev(expr::call_scope_t& args)
{
if (args.size() < 2)