CLI2: Removed unused ::isOperator method
This commit is contained in:
12
src/CLI2.cpp
12
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
|
||||
{
|
||||
|
||||
@@ -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 <std::pair <std::string, Lexer::Type>>&) const;
|
||||
|
||||
Reference in New Issue
Block a user