mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue