From 4e9c8ede2b6f8e1dc31eb5793bc8dbad2894a86f Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 24 May 2014 23:01:42 -0400 Subject: [PATCH] CmdDenotate - Converted from A3 to Filter. --- src/commands/CmdDenotate.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/commands/CmdDenotate.cpp b/src/commands/CmdDenotate.cpp index f842a9ee5..f00a0dd46 100644 --- a/src/commands/CmdDenotate.cpp +++ b/src/commands/CmdDenotate.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -53,8 +54,9 @@ int CmdDenotate::execute (std::string& output) bool sensitive = context.config.getBoolean ("search.case.sensitive"); // Apply filter. + Filter filter; std::vector filtered; - filter (filtered); + filter.subset (filtered); if (filtered.size () == 0) { context.footnote (STRING_FEEDBACK_NO_TASKS_SP);