Skip to content

Commit 2d8be06

Browse files
Rename it to pair in boolbvt::print_assignment
The variable represents a pair and not an iterator
1 parent 4365c28 commit 2d8be06

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/solvers/flattening/boolbv.cpp

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

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

0 commit comments

Comments
 (0)