From d2422f99e6edd17b86502b34be4fb618fe4c838d Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 19 Mar 2012 04:18:56 -0500 Subject: Allow the equity command to strip annotations --- 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 d73fff86..3e766863 100644 --- a/src/filters.h +++ b/src/filters.h @@ -763,6 +763,7 @@ public: class posts_as_equity : public subtotal_posts { + report_t& report; post_t * last_post; account_t * equity_account; account_t * balance_account; @@ -770,8 +771,9 @@ class posts_as_equity : public subtotal_posts posts_as_equity(); public: - posts_as_equity(post_handler_ptr _handler, expr_t& amount_expr) - : subtotal_posts(_handler, amount_expr) { + posts_as_equity(post_handler_ptr _handler, report_t& _report, + expr_t& amount_expr) + : subtotal_posts(_handler, amount_expr), report(_report) { TRACE_CTOR(posts_as_equity, "post_handler_ptr, expr_t&"); create_accounts(); } -- cgit v1.2.3