From 581c310631ebd8cdd11b4c81407716b226fdbc27 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 24 May 2014 15:06:58 -0400 Subject: [PATCH] CmdBurndown - Converted from A3 to Filter. --- src/commands/CmdBurndown.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/commands/CmdBurndown.cpp b/src/commands/CmdBurndown.cpp index 43feb041e..6603656fe 100644 --- a/src/commands/CmdBurndown.cpp +++ b/src/commands/CmdBurndown.cpp @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include @@ -980,8 +981,9 @@ int CmdBurndownMonthly::execute (std::string& output) // Scan the pending tasks, applying any filter. handleRecurrence (); + Filter filter; std::vector filtered; - filter (filtered); + filter.subset (filtered); context.tdb2.commit (); // Create a chart, scan the tasks, then render. @@ -1008,8 +1010,9 @@ int CmdBurndownWeekly::execute (std::string& output) // Scan the pending tasks, applying any filter. handleRecurrence (); + Filter filter; std::vector filtered; - filter (filtered); + filter.subset (filtered); context.tdb2.commit (); // Create a chart, scan the tasks, then render. @@ -1036,8 +1039,9 @@ int CmdBurndownDaily::execute (std::string& output) // Scan the pending tasks, applying any filter. handleRecurrence (); + Filter filter; std::vector filtered; - filter (filtered); + filter.subset (filtered); context.tdb2.commit (); // Create a chart, scan the tasks, then render.