mirror of
https://github.com/Z3Prover/z3
synced 2026-02-19 07:04:22 +00:00
fix build warnings and scoop up after Nuno's leaks
This commit is contained in:
parent
bcca975d2d
commit
a7b9df14f4
6 changed files with 14 additions and 12 deletions
|
|
@ -301,7 +301,8 @@ 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 = std::move(m_basic_tmp);
|
||||
buffer.swap(m_basic_tmp);
|
||||
}
|
||||
|
||||
// buffer := p1 * p2
|
||||
|
|
@ -342,7 +343,8 @@ 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 = std::move(m_basic_tmp);
|
||||
buffer.swap(m_basic_tmp);
|
||||
}
|
||||
|
||||
// buffer := dp/dx
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue