mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-18 15:33:08 +02:00
CLI2: Removed unused ::isOperator method
This commit is contained in:
parent
2d453f5f88
commit
bf2720a59b
2 changed files with 0 additions and 13 deletions
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue