3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-07-03 13:56:08 +00:00
This commit is contained in:
Nikolaj Bjorner 2020-07-25 11:18:20 -07:00
parent e63992c8bd
commit 963daab268
2 changed files with 4 additions and 4 deletions

View file

@ -30,8 +30,8 @@ public:
mpq(int v):m_num(v), m_den(1) {}
mpq():m_den(1) {}
mpq(mpq &&) noexcept = default;
mpq & operator=(mpq const &) = delete;
mpq & operator=(mpq&&) = delete;
mpq & operator=(mpq const &) noexcept = default;
mpq & operator=(mpq&&) noexcept = default;
void swap(mpq & other) { m_num.swap(other.m_num); m_den.swap(other.m_den); }
mpz const & numerator() const { return m_num; }
mpz const & denominator() const { return m_den; }