diff --git a/src/commands/CmdInfo.cpp b/src/commands/CmdInfo.cpp index 76db83895..3785ab2a5 100644 --- a/src/commands/CmdInfo.cpp +++ b/src/commands/CmdInfo.cpp @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include @@ -59,8 +60,9 @@ int CmdInfo::execute (std::string& output) int rc = 0; // Apply filter. + Filter filter; std::vector filtered; - filter (filtered); + filter.subset (filtered); if (! filtered.size ()) {