Revert "[clang-tidy] Use new range based loops"

This reverts commit a468537c1b.
This commit is contained in:
Paul Beckingham 2020-12-05 16:18:15 -05:00
parent e3e158bf6a
commit 0a3a4d364d
4 changed files with 20 additions and 20 deletions

View file

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