diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-19 00:54:19 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-19 01:26:34 -0500 |
commit | 20965d9fa3c2b355280f25520f0cd74cafcf5fbc (patch) | |
tree | cecae052076f542047ffc3131771742c0434651d /src/chain.cc | |
parent | ae8b57f15785f0fbe300e7d6d2b709b4730556d1 (diff) | |
download | fork-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.cc | 9 |
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, |