Skip to content

Commit 358aa4c

Browse files
author
Daniel Kroening
committed
introduce a ranged for
1 parent 73a513c commit 358aa4c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/solvers/lowering/functions.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ void functionst::record(const function_application_exprt &function_application)
1919

2020
void functionst::add_function_constraints()
2121
{
22-
for(function_mapt::const_iterator it = function_map.begin();
23-
it != function_map.end();
24-
it++)
25-
add_function_constraints(it->second);
22+
for(const auto &function : function_map)
23+
add_function_constraints(function.second);
2624
}
2725

2826
exprt functionst::arguments_equal(

0 commit comments

Comments
 (0)