mirror of
https://github.com/Z3Prover/z3
synced 2025-05-13 18:54:43 +00:00
minor optimization to reset() methods in smt::ketnel and smt::quantifier_manager
Signed-off-by: Nuno Lopes <a-nlopes@MSRC-4051274.europe.corp.microsoft.com>
This commit is contained in:
parent
8d303a09b5
commit
71d31c1267
2 changed files with 4 additions and 4 deletions
|
@ -236,8 +236,8 @@ namespace smt {
|
|||
params_ref ps = m_imp->params();
|
||||
#pragma omp critical (smt_kernel)
|
||||
{
|
||||
dealloc(m_imp);
|
||||
m_imp = alloc(imp, _m, fps, ps);
|
||||
m_imp->~imp();
|
||||
m_imp = new (m_imp) imp(_m, fps, ps);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue