mirror of
https://github.com/Z3Prover/z3
synced 2026-02-14 21:01: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
|
|
@ -76,7 +76,7 @@ namespace datalog {
|
|||
for(unsigned i = 0; i < n; ++i) {
|
||||
unsigned sz = reg(i) ? reg(i)->get_size_estimate_bytes() : 0;
|
||||
total_bytes += sz;
|
||||
sizes.push_back(std::move(std::make_pair(i, sz)));
|
||||
sizes.push_back(std::make_pair(i, sz));
|
||||
}
|
||||
std::sort(sizes.begin(), sizes.end(), compare_size_proc());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue