From ad9a469a2a2881becc934204148f8f14d5a15256 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 19 Jan 2009 22:30:11 -0400 Subject: Got changed_value_xacts working again. --- src/filters.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/filters.h') 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 // 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 public: changed_value_xacts(xact_handler_ptr handler, - bool _changed_values_only) - : item_handler(handler), + const expr_t& _total_expr, + bool _changed_values_only) + : item_handler(handler), total_expr(_total_expr), changed_values_only(_changed_values_only), last_xact(NULL) { TRACE_CTOR(changed_value_xacts, "xact_handler_ptr, bool"); -- cgit v1.2.3