3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-31 08:23:17 +00:00

delete more default constructors

reduces code size by 0.1%
This commit is contained in:
Nuno Lopes 2024-09-23 12:13:52 +01:00
parent 4b4a28239f
commit 737c2208fa
41 changed files with 35 additions and 91 deletions

View file

@ -35,7 +35,7 @@ private:
mpz * m_as; // precise coefficients
double * m_approx_as; // approximated coefficients
var * m_xs; // var ids
linear_equation() {}
linear_equation() = default;
public:
unsigned size() const { return m_size; }
mpz const & a(unsigned idx) const { SASSERT(idx < m_size); return m_as[idx]; }