Skip to content

Commit 4b5467c

Browse files
author
Daniel Kroening
committed
another ranged for
1 parent 8e99272 commit 4b5467c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/solvers/prop/prop_conv.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -530,8 +530,6 @@ exprt prop_conv_solvert::get(const exprt &expr) const
530530

531531
void prop_conv_solvert::print_assignment(std::ostream &out) const
532532
{
533-
for(symbolst::const_iterator it=symbols.begin();
534-
it!=symbols.end();
535-
it++)
536-
out << it->first << " = " << prop.l_get(it->second) << "\n";
533+
for(const auto &it : symbols)
534+
out << it.first << " = " << prop.l_get(it.second) << "\n";
537535
}

0 commit comments

Comments
 (0)