3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-26 13:06:05 +00:00

call it data instead of c_ptr for approaching C++11 std::vector convention.

This commit is contained in:
Nikolaj Bjorner 2021-04-13 18:17:10 -07:00
parent 524dcd35f9
commit 4a6083836a
456 changed files with 2802 additions and 2802 deletions

View file

@ -71,7 +71,7 @@ void extract_clauses_and_dependencies(goal_ref const& g, expr_ref_vector& clause
}
SASSERT(clause.size() > 1);
expr_ref cls(m);
cls = mk_or(m, clause.size(), clause.c_ptr());
cls = mk_or(m, clause.size(), clause.data());
clauses.push_back(cls);
}
}
@ -110,7 +110,7 @@ public:
TRACE("solver2tactic", tout << "clauses asserted\n";);
lbool r;
try {
r = local_solver->check_sat(assumptions.size(), assumptions.c_ptr());
r = local_solver->check_sat(assumptions.size(), assumptions.data());
}
catch (...) {
local_solver->collect_statistics(m_st);