3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 11:25:51 +00:00

move to scoped intervals for memory management

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-03-13 15:12:46 -07:00 committed by Lev Nachmanson
parent 79fefe5fb3
commit a7158772ad
3 changed files with 21 additions and 19 deletions

View file

@ -296,6 +296,8 @@ public:
}
void reset() { m_dep_manager.reset(); }
void del(interval& i) { m_imanager.del(i); }
template <enum with_deps_t wd> interval intersect(const interval& a, const interval& b) const {
interval i;
@ -363,3 +365,5 @@ public:
copy_upper_bound<wd>(b, i);
}
};
typedef _scoped_interval<dep_intervals> scoped_dep_interval;