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 May 26, 2024
1 parent 9f55a7a commit 8b42586
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 8b42586

Please sign in to comment.