Skip to content

Commit a88262e

Browse files
Rename it to pair in boolbvt::print_assignment
The variable represents a pair and not an iterator
1 parent beddcaf commit a88262e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/solvers/flattening/boolbv.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -686,12 +686,8 @@ bool boolbvt::is_unbounded_array(const typet &type) const
686686
void boolbvt::print_assignment(std::ostream &out) const
687687
{
688688
arrayst::print_assignment(out);
689-
690-
for(const auto &it : map.mapping)
691-
{
692-
out << it.first << "="
693-
<< it.second.get_value(prop) << '\n';
694-
}
689+
for(const auto &pair : map.mapping)
690+
out << pair.first << "=" << pair.second.get_value(prop) << '\n';
695691
}
696692

697693
void boolbvt::build_offset_map(const struct_typet &src, offset_mapt &dest)

0 commit comments

Comments
 (0)