3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-04 10:20:23 +00:00

play nice with sanitizers

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-03 17:39:22 -07:00
parent 6f65051f2c
commit f4472927c0
5 changed files with 14 additions and 5 deletions

View file

@ -63,7 +63,7 @@ public:
struct ui64 {};
rational(uint64_t i, ui64) { m().set(m_val, i); }
~rational() { m().del(m_val); }
~rational() { synch_mpq_manager::del(g_mpq_manager, m_val); }
mpq const & to_mpq() const { return m_val; }