3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-19 10:52:02 +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

@ -130,7 +130,7 @@ namespace sat {
lock_guard lock(m_mux);
if (limit < m_units.size()) {
// this might repeat some literals.
out.append(m_units.size() - limit, m_units.c_ptr() + limit);
out.append(m_units.size() - limit, m_units.data() + limit);
}
for (unsigned i = 0; i < in.size(); ++i) {
literal lit = in[i];
@ -192,7 +192,7 @@ namespace sat {
IF_VERBOSE(3, verbose_stream() << s.m_par_id << ": retrieve " << m_lits << "\n";);
SASSERT(n >= 2);
if (usable_clause) {
s.mk_clause_core(m_lits.size(), m_lits.c_ptr(), sat::status::redundant());
s.mk_clause_core(m_lits.size(), m_lits.data(), sat::status::redundant());
}
}
}