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

replace some copies with moves

This commit is contained in:
Nuno Lopes 2026-02-09 22:45:13 +00:00 committed by Nikolaj Bjorner
parent 6b28d65487
commit a3e7bbb92f
8 changed files with 27 additions and 13 deletions

View file

@ -208,7 +208,7 @@ namespace sat {
lits2.insert(*it);
}
}
lits1 = lits3;
lits1 = std::move(lits3);
}
literal_vector& mus::get_core() {

View file

@ -210,7 +210,7 @@ namespace sat {
}
bv.push_back(parity);
}
m_parity.push_back(bv);
m_parity.push_back(std::move(bv));
}
}