mirror of
https://github.com/Z3Prover/z3
synced 2026-02-12 20:04:08 +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
|
|
@ -26,7 +26,7 @@ class numeral_buffer {
|
|||
svector<Numeral> m_buffer;
|
||||
public:
|
||||
typedef Numeral numeral;
|
||||
typedef Numeral data;
|
||||
typedef Numeral data_t;
|
||||
typedef NumeralManager manager;
|
||||
|
||||
numeral_buffer(NumeralManager & m):m_manager(m) {}
|
||||
|
|
@ -75,7 +75,7 @@ public:
|
|||
m_buffer.reset();
|
||||
}
|
||||
|
||||
Numeral * c_ptr() { return m_buffer.c_ptr(); }
|
||||
Numeral * data() { return m_buffer.data(); }
|
||||
|
||||
void reserve(unsigned sz) {
|
||||
m_buffer.reserve(sz);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue