From bf2720a59ba356826dc3cdbe6c936bab4e2591f6 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 20 Jun 2015 09:52:15 -0700 Subject: [PATCH] CLI2: Removed unused ::isOperator 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 1447c9e32..0b2a480ed 100644 --- a/src/CLI2.cpp +++ b/src/CLI2.cpp @@ -2071,18 +2071,6 @@ bool CLI2::isAttribute (const std::string& raw) const return true; } -//////////////////////////////////////////////////////////////////////////////// -bool CLI2::isOperator (const std::string& raw) const -{ - // Walk the list of entities for category. - auto c = _entities.equal_range ("operator"); - for (auto e = c.first; e != c.second; ++e) - if (raw == e->second) - return true; - - return false; -} - //////////////////////////////////////////////////////////////////////////////// bool CLI2::isName (const std::string& raw) const { diff --git a/src/CLI2.h b/src/CLI2.h index f22c81c86..56bb9afac 100644 --- a/src/CLI2.h +++ b/src/CLI2.h @@ -131,7 +131,6 @@ private: bool isUUIDList (const std::string&) const; bool isAttribute (const std::string&) const; - bool isOperator (const std::string&) const; bool isName (const std::string&) const; bool disqualifyInsufficientTerms (const std::vector >&) const;