diff --git a/src/commands/CmdAnnotate.cpp b/src/commands/CmdAnnotate.cpp index 3b8a7c303..d0231150c 100644 --- a/src/commands/CmdAnnotate.cpp +++ b/src/commands/CmdAnnotate.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -52,8 +53,9 @@ int CmdAnnotate::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);