mirror of
https://github.com/Z3Prover/z3
synced 2025-08-03 18:00:23 +00:00
Use nullptr.
This commit is contained in:
parent
f01328c65f
commit
76eb7b9ede
625 changed files with 4639 additions and 4639 deletions
|
@ -105,7 +105,7 @@ namespace sat {
|
|||
void tmp_clause::set(unsigned num_lits, literal const * lits, bool learned) {
|
||||
if (m_clause && m_clause->m_capacity < num_lits) {
|
||||
dealloc_svect(m_clause);
|
||||
m_clause = 0;
|
||||
m_clause = nullptr;
|
||||
}
|
||||
if (!m_clause) {
|
||||
void * mem = alloc_svect(char, clause::get_obj_size(num_lits));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue