mirror of
https://github.com/Z3Prover/z3
synced 2026-02-15 05:11:49 +00:00
Revert incorrect std::move around std::make_pair - make_pair already returns rvalue
Co-authored-by: nunoplopes <2998477+nunoplopes@users.noreply.github.com>
This commit is contained in:
parent
2d9d91c5cc
commit
a2f3d647e1
46 changed files with 105 additions and 105 deletions
|
|
@ -93,7 +93,7 @@ struct pb2bv_rewriter::imp {
|
|||
void sort_args() {
|
||||
vector<ca> cas;
|
||||
for (unsigned i = 0; i < m_args.size(); ++i) {
|
||||
cas.push_back(std::move(std::make_pair(m_coeffs[i], expr_ref(m_args.get(i), m))));
|
||||
cas.push_back(std::make_pair(m_coeffs[i], expr_ref(m_args.get(i), m)));
|
||||
}
|
||||
std::sort(cas.begin(), cas.end(), compare_coeffs());
|
||||
m_coeffs.reset();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue