We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 166effd commit cc31a9fCopy full SHA for cc31a9f
src/solvers/prop/prop_conv.cpp
@@ -499,14 +499,12 @@ exprt prop_conv_solvert::get(const exprt &expr) const
499
}
500
501
502
- exprt tmp=expr;
503
-
504
- Forall_operands(it, tmp)
+ exprt tmp = expr;
+ for(auto &op : tmp.operands())
505
{
506
- exprt tmp_op=get(*it);
507
- it->swap(tmp_op);
+ exprt tmp_op = get(op);
+ op.swap(tmp_op);
508
509
510
return tmp;
511
512
0 commit comments