mirror of
https://github.com/Z3Prover/z3
synced 2025-06-05 21:53:23 +00:00
mk_not: fix clang compilation issue
This commit is contained in:
parent
9a0406d181
commit
dda65fdd2e
2 changed files with 13 additions and 14 deletions
|
@ -195,7 +195,7 @@ expr * mk_not(ast_manager & m, expr * arg) {
|
||||||
return m.mk_not(arg);
|
return m.mk_not(arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
expr_ref mk_not(expr_ref& e) {
|
expr_ref mk_not(const expr_ref& e) {
|
||||||
return expr_ref(mk_not(e.m(), e), e.m());
|
return expr_ref(mk_not(e.m(), e), e.m());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -127,7 +127,7 @@ inline expr_ref mk_or(expr_ref_vector const& args) { return expr_ref(mk_or(args.
|
||||||
*/
|
*/
|
||||||
expr * mk_not(ast_manager & m, expr * arg);
|
expr * mk_not(ast_manager & m, expr * arg);
|
||||||
|
|
||||||
expr_ref mk_not(expr_ref& e);
|
expr_ref mk_not(const expr_ref& e);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Negate and push over conjunction or disjunction.
|
Negate and push over conjunction or disjunction.
|
||||||
|
@ -162,4 +162,3 @@ void flatten_or(expr* fml, expr_ref_vector& result);
|
||||||
|
|
||||||
|
|
||||||
#endif /* AST_UTIL_H_ */
|
#endif /* AST_UTIL_H_ */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue