Revert "[clang-tidy] Use new range based loops"
This reverts commit a468537c1b.
This commit is contained in:
@@ -91,9 +91,9 @@ bool dependencyIsCircular (const Task& task)
|
||||
|
||||
// This is a basic depth first search that always terminates given the
|
||||
// fact that we do not visit any task twice
|
||||
for (const auto & i : deps_current)
|
||||
for (unsigned int i = 0; i < deps_current.size (); i++)
|
||||
{
|
||||
if (Context::getContext ().tdb2.get (i, current))
|
||||
if (Context::getContext ().tdb2.get (deps_current[i], current))
|
||||
{
|
||||
auto current_uuid = current.get ("uuid");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user