Skip to content

Commit 5297646

Browse files
author
Daniel Kroening
committed
another ranged for
1 parent 3d66779 commit 5297646

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/solvers/flattening/boolbv.cpp

+3-5
Original file line numberDiff line numberDiff line change
@@ -697,12 +697,10 @@ bool boolbvt::is_unbounded_array(const typet &type) const
697697

698698
void boolbvt::print_assignment(std::ostream &out) const
699699
{
700-
for(boolbv_mapt::mappingt::const_iterator it=map.mapping.begin();
701-
it!=map.mapping.end();
702-
it++)
700+
for(const auto &it : map.mapping)
703701
{
704-
out << it->first << "="
705-
<< it->second.get_value(prop) << '\n';
702+
out << it.first << "="
703+
<< it.second.get_value(prop) << '\n';
706704
}
707705
}
708706

0 commit comments

Comments
 (0)