mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +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
|
@ -23,12 +23,12 @@ Revision History:
|
|||
|
||||
class mpq {
|
||||
mpz m_num;
|
||||
mpz m_den;
|
||||
mpz m_den = 1;
|
||||
friend class mpq_manager<true>;
|
||||
friend class mpq_manager<false>;
|
||||
public:
|
||||
mpq(int v):m_num(v), m_den(1) {}
|
||||
mpq():m_den(1) {}
|
||||
mpq(int v) : m_num(v) {}
|
||||
mpq() = default;
|
||||
mpq(mpq &&) noexcept = default;
|
||||
mpq & operator=(mpq&&) = default;
|
||||
mpq & operator=(mpq const&) = delete;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue