mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 17:45:32 +00:00
fix a few warnings & simplify debug.h header
This commit is contained in:
parent
a97bc65af4
commit
d8cea7c8d5
6 changed files with 24 additions and 56 deletions
|
@ -549,8 +549,7 @@ namespace polynomial {
|
|||
increase_capacity(sz * 2);
|
||||
SASSERT(sz < m_capacity);
|
||||
m_ptr->m_size = sz;
|
||||
if (sz == 0) return;
|
||||
memcpy(m_ptr->m_powers, pws, sizeof(power) * sz);
|
||||
std::uninitialized_copy(pws, pws + sz, m_ptr->m_powers);
|
||||
}
|
||||
|
||||
void reset() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue