mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
fix examples and C++ API - build failure
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
09afb31d4c
commit
0e32c87dc3
|
@ -2083,7 +2083,7 @@ bool parse_is_sat_line(char const* line, bool& is_sat) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
bool parse_is_sat(char const* filename, bool& is_sat) {
|
bool parse_is_sat(char const* filename, bool& is_sat) {
|
||||||
std::ifstream is(filename);
|
std::ifstream is(filename);
|
||||||
|
|
|
@ -1111,7 +1111,8 @@ namespace z3 {
|
||||||
}
|
}
|
||||||
|
|
||||||
inline expr concat(expr const& a, expr const& b) {
|
inline expr concat(expr const& a, expr const& b) {
|
||||||
Z3_ast r = Z3_mk_concat(ctx, (Z3_app) a, (Z3_app) b);
|
context& ctx = a.ctx();
|
||||||
|
Z3_ast r = Z3_mk_concat(ctx, (Z3_ast) a, (Z3_ast) b);
|
||||||
ctx.check_error();
|
ctx.check_error();
|
||||||
return expr(ctx, r);
|
return expr(ctx, r);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue