mirror of
https://github.com/Z3Prover/z3
synced 2026-02-18 14:44:21 +00:00
Eliminate unnecessary copies with std::move for ref-counted types (#8591)
This commit is contained in:
parent
83b60990b1
commit
cc7e6cd92d
9 changed files with 12 additions and 14 deletions
|
|
@ -247,7 +247,7 @@ private:
|
|||
);
|
||||
m_app2val.insert(a, result.get()); // memoize
|
||||
m_pinned.push_back(a);
|
||||
m_pinned.push_back(result);
|
||||
m_pinned.push_back(std::move(result));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue