mirror of
https://github.com/Z3Prover/z3
synced 2026-07-18 13:05:46 +00:00
Remove copies (#8583)
This commit is contained in:
parent
0da28c6d19
commit
836a76c78a
14 changed files with 38 additions and 51 deletions
|
|
@ -301,7 +301,6 @@ namespace upolynomial {
|
|||
|
||||
void core_manager::sub(unsigned sz1, numeral const * p1, unsigned sz2, numeral const * p2, numeral_vector & buffer) {
|
||||
sub_core(sz1, p1, sz2, p2, m_basic_tmp);
|
||||
// buffer = std::move(m_basic_tmp);
|
||||
buffer.swap(m_basic_tmp);
|
||||
}
|
||||
|
||||
|
|
@ -343,7 +342,6 @@ namespace upolynomial {
|
|||
|
||||
void core_manager::mul(unsigned sz1, numeral const * p1, unsigned sz2, numeral const * p2, numeral_vector & buffer) {
|
||||
mul_core(sz1, p1, sz2, p2, m_basic_tmp);
|
||||
// buffer = std::move(m_basic_tmp);
|
||||
buffer.swap(m_basic_tmp);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue