From df1f571061a488aa15f1056883227faaf3a202bc Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 24 May 2014 22:59:54 -0400 Subject: [PATCH] CmdDelete - Converted from A3 to Filter. --- src/commands/CmdDelete.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/commands/CmdDelete.cpp b/src/commands/CmdDelete.cpp index 22b01bb5d..ddd239a0d 100644 --- a/src/commands/CmdDelete.cpp +++ b/src/commands/CmdDelete.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -53,8 +54,9 @@ int CmdDelete::execute (std::string& output) int count = 0; // Apply filter. + Filter filter; std::vector filtered; - filter (filtered); + filter.subset (filtered); if (filtered.size () == 0) { context.footnote (STRING_FEEDBACK_NO_TASKS_SP);