summaryrefslogtreecommitdiff
path: root/src/chain.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-19 00:54:19 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-19 01:26:34 -0500
commit20965d9fa3c2b355280f25520f0cd74cafcf5fbc (patch)
treececae052076f542047ffc3131771742c0434651d /src/chain.cc
parentae8b57f15785f0fbe300e7d6d2b709b4730556d1 (diff)
downloadfork-ledger-20965d9fa3c2b355280f25520f0cd74cafcf5fbc.tar.gz
fork-ledger-20965d9fa3c2b355280f25520f0cd74cafcf5fbc.tar.bz2
fork-ledger-20965d9fa3c2b355280f25520f0cd74cafcf5fbc.zip
Changed several pointers to references in filters
Diffstat (limited to 'src/chain.cc')
-rw-r--r--src/chain.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/chain.cc b/src/chain.cc
index 06bcdf27..a3695923 100644
--- a/src/chain.cc
+++ b/src/chain.cc
@@ -82,14 +82,7 @@ post_handler_ptr chain_post_handlers(report_t& report,
// changes in market value of commodities, which otherwise would affect
// the running total unpredictably.
if (report.HANDLED(revalued))
- handler.reset(new changed_value_posts
- (handler,
- report.HANDLER(display_amount_).expr,
- report.HANDLED(revalued_total_) ?
- report.HANDLER(revalued_total_).expr :
- report.HANDLER(display_total_).expr,
- report.HANDLER(display_total_).expr,
- report, report.HANDLED(revalued_only)));
+ handler.reset(new changed_value_posts(handler, report));
}
// calc_posts computes the running total. When this appears will determine,