3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-28 15:07:56 +00:00

Use nullptr.

This commit is contained in:
Bruce Mitchener 2018-02-12 14:05:55 +07:00
parent f01328c65f
commit 76eb7b9ede
625 changed files with 4639 additions and 4639 deletions

View file

@ -138,7 +138,7 @@ public:
}
dependency * mk_empty() {
return 0;
return nullptr;
}
dependency * mk_leaf(value const & v) {
@ -148,10 +148,10 @@ public:
}
dependency * mk_join(dependency * d1, dependency * d2) {
if (d1 == 0) {
if (d1 == nullptr) {
return d2;
}
else if (d2 == 0) {
else if (d2 == nullptr) {
return d1;
}
else if (d1 == d2) {