- Converted from A3 to Filter.
This commit is contained in:
Paul Beckingham 2014-05-24 15:01:24 -04:00
parent 410f4a3983
commit 614331aa23

View file

@ -28,6 +28,7 @@
#include <sstream>
#include <stdlib.h>
#include <Context.h>
#include <Filter.h>
#include <Date.h>
#include <OldDuration.h>
#include <ViewText.h>
@ -59,8 +60,9 @@ int CmdInfo::execute (std::string& output)
int rc = 0;
// Apply filter.
Filter filter;
std::vector <Task> filtered;
filter (filtered);
filter.subset (filtered);
if (! filtered.size ())
{