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:
parent
04829e6b7a
commit
3d98bccc33
3 changed files with 6 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue