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:
parent
6b28d65487
commit
a3e7bbb92f
8 changed files with 27 additions and 13 deletions
|
|
@ -208,7 +208,7 @@ namespace sat {
|
|||
lits2.insert(*it);
|
||||
}
|
||||
}
|
||||
lits1 = lits3;
|
||||
lits1 = std::move(lits3);
|
||||
}
|
||||
|
||||
literal_vector& mus::get_core() {
|
||||
|
|
|
|||
|
|
@ -210,7 +210,7 @@ namespace sat {
|
|||
}
|
||||
bv.push_back(parity);
|
||||
}
|
||||
m_parity.push_back(bv);
|
||||
m_parity.push_back(std::move(bv));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue