diff --git a/src/sbml/validator/constraints/AssignmentCycles.cpp b/src/sbml/validator/constraints/AssignmentCycles.cpp index f6a1be154..b5afebc5a 100644 --- a/src/sbml/validator/constraints/AssignmentCycles.cpp +++ b/src/sbml/validator/constraints/AssignmentCycles.cpp @@ -274,9 +274,9 @@ bool AssignmentCycles::alreadyExistsInMap(IdMap& map, const pair& dependency) const { - auto range = map.equal_range(dependency.first); + IdRange range = map.equal_range(dependency.first); - for (auto it = range.first; it != range.second; ++it) + for (IdIter it = range.first; it != range.second; ++it) { if (it->second == dependency.second) return true;