mirror of
https://github.com/Z3Prover/z3
synced 2026-05-05 18:05:15 +00:00
#4582 again
This commit is contained in:
parent
963daab268
commit
1059f6d3b8
2 changed files with 3 additions and 3 deletions
|
|
@ -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 &) noexcept = default;
|
||||
mpq & operator=(mpq&&) noexcept = default;
|
||||
mpq & operator=(mpq const &) = default;
|
||||
mpq & operator=(mpq&&) = 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; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue