mirror of
https://github.com/Z3Prover/z3
synced 2026-03-04 04:30:23 +00:00
replace some copies with moves
This commit is contained in:
parent
73844f9a7f
commit
617c621cc0
8 changed files with 27 additions and 13 deletions
|
|
@ -1953,8 +1953,8 @@ namespace nlarith {
|
|||
for (; i + 1 < mat.size(); i += 2) {
|
||||
if (mat[i+1].contains(Zero)) {
|
||||
if (i != j) {
|
||||
mat[j] = mat[i];
|
||||
mat[j+1] = mat[i+1];
|
||||
mat[j] = std::move(mat[i]);
|
||||
mat[j+1] = std::move(mat[i+1]);
|
||||
}
|
||||
j += 2;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue