3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-04 10:20:23 +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

@ -132,7 +132,7 @@ public:
rational const & get_infinitesimal() const { return m_zero; }
rational & operator=(rational&&) = default;
rational & operator=(rational&&) noexcept = default;
rational & operator=(rational const & r) {
m().set(m_val, r.m_val);
@ -149,7 +149,7 @@ private:
public:
rational & operator=(int v) {
*this = rational(v);
m().set(m_val, v);
return *this;
}
rational & operator=(double v) { UNREACHABLE(); return *this; }