Filter: Removed unused ::hasModifications and ::hasMiscellaneous methods
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user