mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 19:35:50 +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
|
@ -225,7 +225,7 @@ public:
|
|||
|
||||
void insert(Key const* keys, Value const& val) {
|
||||
++m_stats.m_num_inserts;
|
||||
insert(m_root, num_keys(), keys, m_keys.c_ptr(), val);
|
||||
insert(m_root, num_keys(), keys, m_keys.data(), val);
|
||||
#if 0
|
||||
if (m_stats.m_num_inserts == (1 << m_do_reshuffle)) {
|
||||
m_do_reshuffle++;
|
||||
|
@ -364,7 +364,7 @@ public:
|
|||
}
|
||||
}
|
||||
Key const* keys() {
|
||||
return m_keys.c_ptr();
|
||||
return m_keys.data();
|
||||
}
|
||||
|
||||
Value const& value() const {
|
||||
|
@ -532,7 +532,7 @@ private:
|
|||
}
|
||||
verbose_stream() << " |-> " << it.value() << "\n";);
|
||||
|
||||
insert(new_root, num_keys(), it.keys(), sorted_keys.c_ptr(), it.value());
|
||||
insert(new_root, num_keys(), it.keys(), sorted_keys.data(), it.value());
|
||||
}
|
||||
del_node(m_root);
|
||||
m_root = new_root;
|
||||
|
|
|
@ -773,7 +773,7 @@ unsigned hilbert_basis::get_num_vars() const {
|
|||
}
|
||||
|
||||
hilbert_basis::values hilbert_basis::vec(offset_t offs) const {
|
||||
return values(m_ineqs.size(), m_store.c_ptr() + offs.m_offset);
|
||||
return values(m_ineqs.size(), m_store.data() + offs.m_offset);
|
||||
}
|
||||
|
||||
void hilbert_basis::init_basis() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue