diff options
author | John Wiegley <johnw@newartisans.com> | 2009-01-19 22:30:11 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-01-19 22:30:11 -0400 |
commit | ad9a469a2a2881becc934204148f8f14d5a15256 (patch) | |
tree | 55f49357f997b924873d8ff6d558b9623d656961 /src/filters.h | |
parent | ce492456670d8fba9a8e83e97818ff6cc3ed1fdc (diff) | |
download | fork-ledger-ad9a469a2a2881becc934204148f8f14d5a15256.tar.gz fork-ledger-ad9a469a2a2881becc934204148f8f14d5a15256.tar.bz2 fork-ledger-ad9a469a2a2881becc934204148f8f14d5a15256.zip |
Got changed_value_xacts working again.
Diffstat (limited to 'src/filters.h')
-rw-r--r-- | src/filters.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/filters.h b/src/filters.h index 59c8f52c..d7be70ff 100644 --- a/src/filters.h +++ b/src/filters.h @@ -366,6 +366,7 @@ class changed_value_xacts : public item_handler<xact_t> // This filter requires that calc_xacts be used at some point // later in the chain. + expr_t total_expr; bool changed_values_only; xact_t * last_xact; value_t last_balance; @@ -377,8 +378,9 @@ class changed_value_xacts : public item_handler<xact_t> public: changed_value_xacts(xact_handler_ptr handler, - bool _changed_values_only) - : item_handler<xact_t>(handler), + const expr_t& _total_expr, + bool _changed_values_only) + : item_handler<xact_t>(handler), total_expr(_total_expr), changed_values_only(_changed_values_only), last_xact(NULL) { TRACE_CTOR(changed_value_xacts, "xact_handler_ptr, bool"); |