Task: Improved method signature

This commit is contained in:
Paul Beckingham 2016-12-31 15:55:06 -05:00
parent fab2979b87
commit 7e629ef30a
10 changed files with 21 additions and 49 deletions

View file

@ -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 ())