Task: Improved method signature

This commit is contained in:
Paul Beckingham
2016-12-31 16:33:39 -05:00
parent 04043d267f
commit 8c0bfb030a
8 changed files with 40 additions and 48 deletions

View File

@@ -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;