3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-19 10:52:02 +00:00

fix mem leak in buffer and remove copies in interval (#4458)

This commit is contained in:
Nuno Lopes 2020-06-03 10:26:00 +01:00
parent 04829e6b7a
commit 3d98bccc33
3 changed files with 6 additions and 16 deletions

View file

@ -227,16 +227,6 @@ interval::interval(v_dependency_manager & m, rational const & val, bool open, bo
}
}
interval::interval(interval const & other):
m_manager(other.m_manager),
m_lower(other.m_lower),
m_upper(other.m_upper),
m_lower_open(other.m_lower_open),
m_upper_open(other.m_upper_open),
m_lower_dep(other.m_lower_dep),
m_upper_dep(other.m_upper_dep) {
}
interval & interval::operator=(interval const & other) {
m_lower = other.m_lower;
m_upper = other.m_upper;