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:
parent
6f65051f2c
commit
f4472927c0
5 changed files with 14 additions and 5 deletions
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue