mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Nibbler: Removed unused ::backN method
This commit is contained in:
parent
297f2b6e99
commit
dd82835ac4
3 changed files with 1 additions and 25 deletions
|
@ -538,18 +538,6 @@ bool Nibbler::skipWS ()
|
|||
return this->skipAllOneOf (" \t\n\r\f");
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool Nibbler::backN (const int quantity /*= 1*/)
|
||||
{
|
||||
if (_cursor >= (unsigned) quantity)
|
||||
{
|
||||
_cursor -= (unsigned) quantity;
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool Nibbler::skipAllOneOf (const std::string& chars)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue