Task: Improved method signature

This commit is contained in:
Paul Beckingham 2016-12-31 16:15:24 -05:00
parent 5193f7d03e
commit 245ed39b78
7 changed files with 26 additions and 52 deletions

View file

@ -82,8 +82,7 @@ bool dependencyIsCircular (const Task& task)
while (! s.empty ())
{
Task& current = s.top ();
std::vector <std::string> deps_current;
current.getDependencies (deps_current);
auto deps_current = current.getDependencyUUIDs ();
// This is a basic depth first search that always terminates given the
// fact that we do not visit any task twice