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 4987f3a commit 5724a35Copy full SHA for 5724a35
src/solvers/prop/prop_conv.cpp
@@ -497,14 +497,12 @@ exprt prop_conv_solvert::get(const exprt &expr) const
497
}
498
499
500
- exprt tmp=expr;
501
-
502
- Forall_operands(it, tmp)
+ exprt tmp = expr;
+ for(auto &op : tmp.operands())
503
{
504
- exprt tmp_op=get(*it);
505
- it->swap(tmp_op);
+ exprt tmp_op = get(op);
+ op.swap(tmp_op);
506
507
508
return tmp;
509
510
0 commit comments