From 3b4dc9acb370485b60049c8aa2e540d605bc3cdd Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 7 Sep 2015 12:44:41 -0400 Subject: [PATCH] CLI2: Removed unused arg - Thanks to Tomas Babej. --- src/CLI2.cpp | 2 +- src/CLI2.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CLI2.cpp b/src/CLI2.cpp index f2d6eb27b..9236ce490 100644 --- a/src/CLI2.cpp +++ b/src/CLI2.cpp @@ -644,7 +644,7 @@ void CLI2::prepareFilter () //////////////////////////////////////////////////////////////////////////////// // Return all the MISCELLANEOUS args. -const std::vector CLI2::getWords (bool filtered) +const std::vector CLI2::getWords () { std::vector words; for (auto& a : _args) diff --git a/src/CLI2.h b/src/CLI2.h index 505d9c2f0..29818259e 100644 --- a/src/CLI2.h +++ b/src/CLI2.h @@ -77,7 +77,7 @@ public: void addFilter (const std::string& arg); void addContextFilter (); void prepareFilter (); - const std::vector getWords (bool filtered = true); + const std::vector getWords (); bool canonicalize (std::string&, const std::string&, const std::string&) const; std::string getBinary () const; std::string getCommand (bool canonical = true) const;