mirror of
https://github.com/Z3Prover/z3
synced 2025-10-03 14:33:56 +00:00
remove default destructors & some default constructors
Another ~700 KB reduction in binary size
This commit is contained in:
parent
0837e3b8e8
commit
8061765574
66 changed files with 22 additions and 131 deletions
|
@ -23,13 +23,10 @@ Notes:
|
|||
template<class T>
|
||||
class queue {
|
||||
vector<T> m_elems;
|
||||
unsigned m_head;
|
||||
unsigned m_capacity;
|
||||
unsigned m_head = 0;
|
||||
unsigned m_capacity = 0;
|
||||
|
||||
public:
|
||||
|
||||
queue(): m_head(0), m_capacity(0) {}
|
||||
|
||||
void push(T const& t) { m_elems.push_back(t); }
|
||||
|
||||
bool empty() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue