- Converted from A3 to Filter.
This commit is contained in:
Paul Beckingham 2014-05-24 15:17:00 -04:00
parent 6cb64e370e
commit 7ac1a7d5e5

View file

@ -31,6 +31,7 @@
#include <ViewText.h>
#include <OldDuration.h>
#include <Context.h>
#include <Filter.h>
#include <main.h>
#include <text.h>
#include <util.h>
@ -79,9 +80,10 @@ int CmdStats::execute (std::string& output)
++backlogCount;
// Get all the tasks.
Filter filter;
std::vector <Task> all = context.tdb2.all_tasks ();
std::vector <Task> filtered;
filter (all, filtered);
filter.subset (all, filtered);
Date now;
time_t earliest = time (NULL);