mirror of
https://github.com/Z3Prover/z3
synced 2025-08-04 10:20:23 +00:00
#4582 again
This commit is contained in:
parent
e63992c8bd
commit
963daab268
2 changed files with 4 additions and 4 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue