Filter: Removed unused ::hasModifications and ::hasMiscellaneous methods

This commit is contained in:
Paul Beckingham
2015-10-28 20:23:32 -04:00
parent 741afd2240
commit c64c6ee870
2 changed files with 0 additions and 22 deletions

View File

@@ -208,26 +208,6 @@ bool Filter::hasFilter ()
return false;
}
////////////////////////////////////////////////////////////////////////////////
bool Filter::hasModifications ()
{
for (auto& a : context.cli2._args)
if (a.hasTag ("MODIFICATION"))
return true;
return false;
}
////////////////////////////////////////////////////////////////////////////////
bool Filter::hasMiscellaneous ()
{
for (auto& a : context.cli2._args)
if (a.hasTag ("MISCELLANEOUS"))
return true;
return false;
}
////////////////////////////////////////////////////////////////////////////////
// If the filter contains no 'or', 'xor' or 'not' operators, and only includes
// status values 'pending', 'waiting' or 'recurring', then the filter is

View File

@@ -43,8 +43,6 @@ public:
void subset (const std::vector <Task>&, std::vector <Task>&);
void subset (std::vector <Task>&);
bool hasFilter ();
bool hasModifications ();
bool hasMiscellaneous ();
bool pendingOnly ();
void safety ();
void disableSafety ();