mirror of
https://github.com/Z3Prover/z3
synced 2025-08-02 09:20:22 +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
|
@ -1170,7 +1170,7 @@ public:
|
|||
template<typename T>
|
||||
class ptr_vector : public vector<T *, false> {
|
||||
public:
|
||||
ptr_vector():vector<T *, false>() {}
|
||||
ptr_vector() = default;
|
||||
ptr_vector(unsigned s):vector<T *, false>(s) {}
|
||||
ptr_vector(unsigned s, T * elem):vector<T *, false>(s, elem) {}
|
||||
ptr_vector(unsigned s, T * const * data):vector<T *, false>(s, const_cast<T**>(data)) {}
|
||||
|
@ -1190,7 +1190,7 @@ public:
|
|||
template<typename T, typename SZ = unsigned>
|
||||
class svector : public vector<T, false, SZ> {
|
||||
public:
|
||||
svector():vector<T, false, SZ>() {}
|
||||
svector() = default;
|
||||
svector(SZ s):vector<T, false, SZ>(s) {}
|
||||
svector(SZ s, T const & elem):vector<T, false, SZ>(s, elem) {}
|
||||
svector(SZ s, T const * data):vector<T, false, SZ>(s, data) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue