3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-22 16:27:37 +00:00

Remove copies (#8583)

This commit is contained in:
Nuno Lopes 2026-02-11 18:14:36 +00:00 committed by Nikolaj Bjorner
parent f2ad141ddf
commit f6f8beaf78
14 changed files with 38 additions and 51 deletions

View file

@ -201,7 +201,7 @@ struct mus::imp {
}
if (!min_core_valid || core.size() < min_core.size()) {
// The current core is smallest so far, so we get fewer unknowns from it.
min_core = core;
min_core = std::move(core);
min_core_valid = true;
min_lit = lit;
}