mirror of
https://github.com/Z3Prover/z3
synced 2026-03-17 02:30:01 +00:00
Eliminate unnecessary copies with std::move for ref-counted types (#8591)
This commit is contained in:
parent
83b60990b1
commit
cc7e6cd92d
9 changed files with 12 additions and 14 deletions
|
|
@ -523,7 +523,7 @@ namespace smt {
|
|||
break;
|
||||
expr_ref lit(g2l.to());
|
||||
lit = g2l(t->get_literal().get());
|
||||
cube.push_back(lit);
|
||||
cube.push_back(std::move(lit));
|
||||
t = t->parent();
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue