mirror of
https://github.com/Z3Prover/z3
synced 2025-08-18 09:12:16 +00:00
Use nullptr.
This commit is contained in:
parent
808d2eb60f
commit
cdfc19a885
44 changed files with 98 additions and 98 deletions
|
@ -636,7 +636,7 @@ public:
|
|||
else {
|
||||
SASSERT(is_decided_unsat(r2));
|
||||
|
||||
if (cores_enabled && r2[0]->dep(0) != 0) {
|
||||
if (cores_enabled && r2[0]->dep(0) != nullptr) {
|
||||
expr_dependency_ref * new_dep = alloc(expr_dependency_ref, new_m);
|
||||
*new_dep = r2[0]->dep(0);
|
||||
core_buffer.set(i, new_dep);
|
||||
|
@ -674,7 +674,7 @@ public:
|
|||
ast_translation translator(*(managers[i]), m, false);
|
||||
goal_ref_buffer * r = goals_vect[i];
|
||||
unsigned j = result.size();
|
||||
if (r != 0) {
|
||||
if (r != nullptr) {
|
||||
for (unsigned k = 0; k < r->size(); k++) {
|
||||
result.push_back((*r)[k]->translate(translator));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue