3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 11:55:51 +00:00

remove unneeded constructors (last round)

This commit is contained in:
Nuno Lopes 2020-07-12 17:41:57 +01:00
parent 44ec259c4c
commit bb26f219fe
37 changed files with 65 additions and 276 deletions

View file

@ -198,12 +198,6 @@ public:
bool operator!=(iterator const& it) const { return m_index != it.m_index; }
iterator & operator++() { ++m_index; scan(); return *this; }
iterator operator++(int) { iterator tmp = *this; ++*this; return tmp; }
iterator & operator=(iterator const& other) {
m_set = other.m_set;
m_index = other.m_index;
m_last = other.m_last;
return *this;
}
};
iterator const begin() const { return iterator(*this, false); }
@ -267,12 +261,6 @@ public:
}
}
tracked_uint_set& operator=(tracked_uint_set const& other) {
m_in_set = other.m_in_set;
m_set = other.m_set;
return *this;
}
bool contains(unsigned v) const {
return v < m_in_set.size() && m_in_set[v] != 0;
}