mirror of
https://github.com/Z3Prover/z3
synced 2025-08-21 02:30:23 +00:00
add obj_ref::operator=(obj_ref &&) + a few explicit uses
This commit is contained in:
parent
ea4218a192
commit
2b31024dab
5 changed files with 14 additions and 5 deletions
|
@ -776,7 +776,7 @@ void th_rewriter::reset() {
|
|||
void th_rewriter::operator()(expr_ref & term) {
|
||||
expr_ref result(term.get_manager());
|
||||
m_imp->operator()(term, result);
|
||||
term = result;
|
||||
term = std::move(result);
|
||||
}
|
||||
|
||||
void th_rewriter::operator()(expr * t, expr_ref & result) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue