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
04043d267f
commit
8c0bfb030a
8 changed files with 40 additions and 48 deletions
|
@ -381,14 +381,12 @@ void feedback_unblocked (const Task& task)
|
|||
if (context.verbose ("affected"))
|
||||
{
|
||||
// Get a list of tasks that depended on this task.
|
||||
std::vector <Task> blocked;
|
||||
dependencyGetBlocked (task, blocked);
|
||||
auto blocked = dependencyGetBlocked (task);
|
||||
|
||||
// Scan all the tasks that were blocked by this task
|
||||
for (auto& i : blocked)
|
||||
{
|
||||
std::vector <Task> blocking;
|
||||
dependencyGetBlocking (i, blocking);
|
||||
auto blocking = dependencyGetBlocking (i);
|
||||
if (blocking.size () == 0)
|
||||
{
|
||||
if (i.id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue