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
|
@ -21,7 +21,7 @@ Revision History:
|
|||
#include "util/rational.h"
|
||||
|
||||
class s_integer {
|
||||
int m_val;
|
||||
int m_val = 0;
|
||||
static s_integer m_zero;
|
||||
static s_integer m_one;
|
||||
static s_integer m_minus_one;
|
||||
|
@ -41,7 +41,7 @@ public:
|
|||
std::string to_string() const;
|
||||
|
||||
public:
|
||||
s_integer(): m_val(0) {}
|
||||
s_integer() = default;
|
||||
explicit s_integer(int n):m_val(n) {}
|
||||
struct i64 {};
|
||||
explicit s_integer(int64_t i, i64):m_val(static_cast<int>(i)) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue