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
245ed39b78
commit
b0a4a409a6
8 changed files with 40 additions and 48 deletions
|
@ -160,8 +160,7 @@ int CmdInfo::execute (std::string& output)
|
|||
|
||||
// dependencies: blocked
|
||||
{
|
||||
std::vector <Task> blocked;
|
||||
dependencyGetBlocking (task, blocked);
|
||||
auto blocked = dependencyGetBlocking (task);
|
||||
if (blocked.size ())
|
||||
{
|
||||
std::stringstream message;
|
||||
|
@ -176,8 +175,7 @@ int CmdInfo::execute (std::string& output)
|
|||
|
||||
// dependencies: blocking
|
||||
{
|
||||
std::vector <Task> blocking;
|
||||
dependencyGetBlocked (task, blocking);
|
||||
auto blocking = dependencyGetBlocked (task);
|
||||
if (blocking.size ())
|
||||
{
|
||||
std::stringstream message;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue