File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -1211,11 +1211,8 @@ expr expr::operator&&(const expr &rhs) const {
1211
1211
return rhs;
1212
1212
1213
1213
C (rhs);
1214
- return binop_commutative (rhs,
1215
- [](auto ctx, auto a, auto b) {
1216
- Z3_ast args[] = { a, b };
1217
- return Z3_mk_and (ctx, 2 , args);
1218
- });
1214
+ Z3_ast args[] = { ast (), rhs () };
1215
+ return Z3_mk_and (ctx (), 2 , args);
1219
1216
}
1220
1217
1221
1218
expr expr::operator ||(const expr &rhs) const {
@@ -1230,11 +1227,8 @@ expr expr::operator||(const expr &rhs) const {
1230
1227
return true ;
1231
1228
1232
1229
C (rhs);
1233
- return binop_commutative (rhs,
1234
- [](auto ctx, auto a, auto b) {
1235
- Z3_ast args[] = { a, b };
1236
- return Z3_mk_or (ctx, 2 , args);
1237
- });
1230
+ Z3_ast args[] = { ast (), rhs () };
1231
+ return Z3_mk_or (ctx (), 2 , args);
1238
1232
}
1239
1233
1240
1234
void expr::operator &=(const expr &rhs) {
You can’t perform that action at this time.
0 commit comments