mirror of
https://github.com/Z3Prover/z3
synced 2025-06-05 21:53:23 +00:00
forgot synch
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
bce9d1440b
commit
2eef4cc1e7
1 changed files with 9 additions and 6 deletions
|
@ -69,13 +69,16 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
void reset() {
|
void reset() {
|
||||||
m_params.reset();
|
#pragma omp critical (gparams)
|
||||||
dictionary<params_ref*>::iterator it = m_module_params.begin();
|
{
|
||||||
dictionary<params_ref*>::iterator end = m_module_params.end();
|
m_params.reset();
|
||||||
for (; it != end; ++it) {
|
dictionary<params_ref*>::iterator it = m_module_params.begin();
|
||||||
dealloc(it->m_value);
|
dictionary<params_ref*>::iterator end = m_module_params.end();
|
||||||
|
for (; it != end; ++it) {
|
||||||
|
dealloc(it->m_value);
|
||||||
|
}
|
||||||
|
m_module_params.reset();
|
||||||
}
|
}
|
||||||
m_module_params.reset();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// -----------------------------------------------
|
// -----------------------------------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue