3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 12:08:18 +00:00

llvm stuff

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2012-10-02 22:37:57 -07:00
parent 9823ee3b44
commit 4603ba2a94
2 changed files with 4 additions and 4 deletions

View file

@ -240,7 +240,7 @@ class ptr_buffer : public buffer<T *, false, INITIAL_SIZE> {
public: public:
void append(unsigned n, T * const * elems) { void append(unsigned n, T * const * elems) {
for (unsigned i = 0; i < n; i++) { for (unsigned i = 0; i < n; i++) {
push_back(elems[i]); this->push_back(elems[i]);
} }
} }
}; };

View file

@ -198,12 +198,12 @@ public:
ref_vector(ref_vector const & other): ref_vector(ref_vector const & other):
super(ref_manager_wrapper<T, TManager>(other.m_manager)) { super(ref_manager_wrapper<T, TManager>(other.m_manager)) {
append(other); this->append(other);
} }
ref_vector(TManager & m, unsigned sz, T * const * data): ref_vector(TManager & m, unsigned sz, T * const * data):
super(ref_manager_wrapper<T, TManager>(m)) { super(ref_manager_wrapper<T, TManager>(m)) {
append(sz, data); this->append(sz, data);
} }
TManager & get_manager() const { TManager & get_manager() const {
@ -271,7 +271,7 @@ public:
ref_vector & set(ref_vector const& other) { ref_vector & set(ref_vector const& other) {
if (this != &other) { if (this != &other) {
this->reset(); this->reset();
append(other); this->append(other);
} }
return *this; return *this;
} }