3
0
Fork 0
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:
Nuno Lopes 2020-07-12 19:53:22 +01:00
parent bb26f219fe
commit f30e8ccec3
3 changed files with 12 additions and 0 deletions

View file

@ -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; }