From 391300aea29a755e20a60774be662e4ebd361b66 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 9 Feb 2009 00:57:56 -0400 Subject: Had to step back from a change that was breaking regular reports. --- src/chain.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/chain.cc') diff --git a/src/chain.cc b/src/chain.cc index 4c33b4de..c953366a 100644 --- a/src/chain.cc +++ b/src/chain.cc @@ -61,7 +61,9 @@ xact_handler_ptr chain_xact_handlers(report_t& report, // determine, for example, whether filtered xacts are included or excluded // from the running total. assert(report.HANDLED(amount_)); - handler.reset(new calc_xacts(handler, report.HANDLER(amount_).expr)); + expr_t& expr(report.HANDLER(amount_).expr); + expr.set_context(&report); + handler.reset(new calc_xacts(handler, expr)); // filter_xacts will only pass through xacts matching the // `secondary_predicate'. -- cgit v1.2.3