From 17f4b50aa7fa130d4676c2ece993992da9b8b0a1 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 20 Jun 2015 09:28:15 -0700 Subject: [PATCH] CLI2: Removed unused ::add method --- src/CLI2.cpp | 12 ------------ src/CLI2.h | 1 - 2 files changed, 13 deletions(-) diff --git a/src/CLI2.cpp b/src/CLI2.cpp index 8993c8f91..884a5bc31 100644 --- a/src/CLI2.cpp +++ b/src/CLI2.cpp @@ -438,18 +438,6 @@ void CLI2::analyze () } /* -//////////////////////////////////////////////////////////////////////////////// -// Capture a single argument, and recalc everything. -void CLI2::add (const std::string& arg) -{ - // Clean the ID/UUID lists, because they will be rebuilt. - _id_ranges.clear (); - _uuid_list.clear (); - - addArg (arg); - analyze (); -} - //////////////////////////////////////////////////////////////////////////////// // There are situations where a context filter is applied. This method // determines whether one applies, and if so, applies it. diff --git a/src/CLI2.h b/src/CLI2.h index 5cda39abb..9524a08b8 100644 --- a/src/CLI2.h +++ b/src/CLI2.h @@ -82,7 +82,6 @@ public: void add (const std::string&); void analyze (); /* - void add (const std::string&); void addContextFilter (); void addRawFilter (const std::string& arg); void applyOverrides ();