mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Task: Improved method signature
This commit is contained in:
parent
fab2979b87
commit
7e629ef30a
10 changed files with 21 additions and 49 deletions
|
@ -140,10 +140,7 @@ int CmdStats::execute (std::string& output)
|
|||
daysPending += (now.toEpoch () - entry) / 86400.0;
|
||||
|
||||
descLength += task.get ("description").length ();
|
||||
|
||||
std::map <std::string, std::string> annotations;
|
||||
task.getAnnotations (annotations);
|
||||
annotationsT += annotations.size ();
|
||||
annotationsT += task.getAnnotations ().size ();
|
||||
|
||||
auto tags = task.getTags ();
|
||||
if (tags.size ())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue