mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-08 06:10:36 +02:00
make TDB2.pending/completed non-public
References to methods on these fields are replaced with methods on TDB2, several of which already existed.
This commit is contained in:
parent
4ebd0ffb39
commit
271d06cd9c
11 changed files with 43 additions and 33 deletions
|
@ -40,7 +40,7 @@ void nag (std::vector <Task>& tasks)
|
|||
if (msg == "")
|
||||
return;
|
||||
|
||||
auto pending = Context::getContext ().tdb2.pending.get_tasks ();
|
||||
auto pending = Context::getContext ().tdb2.pending_tasks ();
|
||||
for (auto& t1 : tasks) {
|
||||
if (t1.hasTag ("nonag"))
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue