File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -121,16 +121,13 @@ void bv_refinementt::freeze_lazy_constraints()
121121 if (!lazy_arrays)
122122 return ;
123123
124- for (std::list<lazy_constraintt>::iterator
125- l_it=lazy_array_constraints.begin ();
126- l_it!=lazy_array_constraints.end (); ++l_it)
124+ for (const auto &constraint : lazy_array_constraints)
127125 {
128126 std::set<symbol_exprt> symbols;
129- find_symbols (l_it->lazy , symbols);
130- for (std::set<symbol_exprt>::const_iterator it=symbols.begin ();
131- it!=symbols.end (); ++it)
127+ find_symbols (constraint.lazy , symbols);
128+ for (const auto &symbol : symbols)
132129 {
133- bvt bv=convert_bv (l_it-> lazy );
130+ const bvt bv=convert_bv (symbol );
134131 forall_literals (b_it, bv)
135132 if (!b_it->is_constant ())
136133 prop.set_frozen (*b_it);
You can’t perform that action at this time.
0 commit comments