3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-03 01:40:22 +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

@ -264,7 +264,7 @@ namespace {
if (!m_minimizing_core && smt_params_helper(get_params()).core_minimize()) {
scoped_minimize_core scm(*this);
mus mus(*this);
mus.add_soft(r.size(), r.c_ptr());
mus.add_soft(r.size(), r.data());
expr_ref_vector r2(m);
if (l_true == mus.get_mus(r2)) {
r.reset();
@ -297,7 +297,7 @@ namespace {
void get_labels(svector<symbol> & r) override {
buffer<symbol> tmp;
m_context.get_relevant_labels(nullptr, tmp);
r.append(tmp.size(), tmp.c_ptr());
r.append(tmp.size(), tmp.data());
}
ast_manager & get_manager() const override { return m_context.m(); }
@ -435,7 +435,7 @@ namespace {
}
}
core.append(new_core_literals.size(), new_core_literals.c_ptr());
core.append(new_core_literals.size(), new_core_literals.data());
if (new_core_literals.empty())
break;