mirror of
https://github.com/Z3Prover/z3
synced 2026-02-23 00:37:36 +00:00
Replace user-defined swap with C++11 move semantics for covert move patterns (#8543)
This commit is contained in:
parent
c50d41a6e8
commit
58431ec158
6 changed files with 28 additions and 10 deletions
|
|
@ -239,7 +239,7 @@ void proto_model::cleanup() {
|
|||
unregister_decl(faux);
|
||||
}
|
||||
}
|
||||
m_aux_decls.swap(found_aux_fs);
|
||||
m_aux_decls = std::move(found_aux_fs);
|
||||
}
|
||||
TRACE(model_bug, model_v2_pp(tout, *this););
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue