mirror of
https://github.com/Z3Prover/z3
synced 2026-05-04 01:15:15 +00:00
fix crashes due to my last commit
This commit is contained in:
parent
bb26f219fe
commit
f30e8ccec3
3 changed files with 12 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ class mpq {
|
|||
public:
|
||||
mpq(int v):m_num(v), m_den(1) {}
|
||||
mpq():m_den(1) {}
|
||||
mpq(mpq &&) noexcept = default;
|
||||
mpq & operator=(mpq const &) = delete;
|
||||
void swap(mpq & other) { m_num.swap(other.m_num); m_den.swap(other.m_den); }
|
||||
mpz const & numerator() const { return m_num; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue