3
0
Fork 0
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:
Copilot 2026-02-13 12:16:47 +00:00 committed by GitHub
parent 83b60990b1
commit cc7e6cd92d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 12 additions and 14 deletions

View file

@ -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;