mirror of
https://github.com/Z3Prover/z3
synced 2025-08-14 06:45:25 +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
|
@ -47,7 +47,7 @@ namespace nlsat {
|
|||
m_solver.dec_ref(m_lits[i]);
|
||||
m_lits[i] = l;
|
||||
}
|
||||
literal const * c_ptr() const { return m_lits.c_ptr(); }
|
||||
literal const * data() const { return m_lits.data(); }
|
||||
literal const * begin() const { return m_lits.begin(); }
|
||||
literal const * end() const { return m_lits.end(); }
|
||||
void shrink(unsigned new_sz) {
|
||||
|
@ -65,7 +65,7 @@ namespace nlsat {
|
|||
push_back(ls[i]);
|
||||
}
|
||||
void append(scoped_literal_vector const& ls) {
|
||||
append(ls.size(), ls.c_ptr());
|
||||
append(ls.size(), ls.data());
|
||||
}
|
||||
void swap(scoped_literal_vector& other) {
|
||||
SASSERT(&m_solver == &other.m_solver);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue