mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 00:57:19 +02:00
remove TBD2::clear, only used in tests
This commit is contained in:
parent
271d06cd9c
commit
e3ef6c504a
3 changed files with 12 additions and 20 deletions
12
src/TDB2.cpp
12
src/TDB2.cpp
|
@ -1291,18 +1291,6 @@ size_t TDB2::data_size ()
|
|||
return pending._file.size () + completed._file.size () + undo._file.size () + backlog._file.size ();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
void TDB2::clear ()
|
||||
{
|
||||
pending.clear ();
|
||||
completed.clear ();
|
||||
undo.clear ();
|
||||
backlog.clear ();
|
||||
|
||||
_location = "";
|
||||
_id = 1;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
void TDB2::dump ()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue