mirror of
https://github.com/Z3Prover/z3
synced 2025-08-23 19:47:52 +00:00
call it data instead of c_ptr for approaching C++11 std::vector convention.
This commit is contained in:
parent
524dcd35f9
commit
4a6083836a
456 changed files with 2802 additions and 2802 deletions
|
@ -146,7 +146,7 @@ static void parse_fml(char const* str, app_ref_vector& vars, expr_ref& fml) {
|
|||
}
|
||||
fml = q->get_expr();
|
||||
var_subst vs(m, true);
|
||||
fml = vs(fml, vars.size(), (expr*const*)vars.c_ptr());
|
||||
fml = vs(fml, vars.size(), (expr*const*)vars.data());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -164,7 +164,7 @@ static void test_quant_solver(ast_manager& m, char const* str, bool validate = t
|
|||
expr_ref fml(m);
|
||||
app_ref_vector vars(m);
|
||||
parse_fml(str, vars, fml);
|
||||
test_quant_solver(m, vars.size(), vars.c_ptr(), fml, validate);
|
||||
test_quant_solver(m, vars.size(), vars.data(), fml, validate);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue