mirror of
https://github.com/Z3Prover/z3
synced 2025-08-09 20:50:50 +00:00
remove a few default constructors
This commit is contained in:
parent
22d9bfad35
commit
a62fede64b
16 changed files with 16 additions and 21 deletions
|
@ -48,7 +48,7 @@ public:
|
|||
friend class grobner;
|
||||
friend struct monomial_lt;
|
||||
|
||||
monomial() {}
|
||||
monomial() = default;
|
||||
public:
|
||||
rational const & get_coeff() const { return m_coeff; }
|
||||
unsigned get_degree() const { return m_vars.size(); }
|
||||
|
@ -63,7 +63,7 @@ public:
|
|||
ptr_vector<monomial> m_monomials; //!< sorted monomials
|
||||
v_dependency * m_dep; //!< justification for the equality
|
||||
friend class grobner;
|
||||
equation() {}
|
||||
equation() = default;
|
||||
public:
|
||||
unsigned get_num_monomials() const { return m_monomials.size(); }
|
||||
monomial const * get_monomial(unsigned idx) const { return m_monomials[idx]; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue