mirror of
https://github.com/Z3Prover/z3
synced 2025-10-10 17:58:06 +00:00
parent
fe267803d1
commit
ddc77b1100
2 changed files with 17 additions and 4 deletions
|
@ -1282,7 +1282,10 @@ namespace sat {
|
|||
struct scoped_ls {
|
||||
solver& s;
|
||||
scoped_ls(solver& s): s(s) {}
|
||||
~scoped_ls() { dealloc(s.m_local_search); s.m_local_search = nullptr; }
|
||||
~scoped_ls() {
|
||||
dealloc(s.m_local_search);
|
||||
s.m_local_search = nullptr;
|
||||
}
|
||||
};
|
||||
scoped_ls _ls(*this);
|
||||
if (inconsistent()) return l_false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue