Skip to content

Commit

Permalink
#374: dont use auto incase someone uses c++ 98
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergmann committed Aug 1, 2024
1 parent ffe0743 commit 927ed06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sbml/validator/constraints/AssignmentCycles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,9 @@ bool
AssignmentCycles::alreadyExistsInMap(IdMap& map,
const pair<const std::string, std::string>& 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;
Expand Down

0 comments on commit 927ed06

Please sign in to comment.