3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-23 03:27:52 +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

6
src/interp/iz3mgr.h Executable file → Normal file
View file

@ -63,7 +63,7 @@ public:
raw_ast * const &raw() const {return _ast;}
ast_i(raw_ast *a){_ast = a;}
ast_i(){_ast = 0;}
ast_i(){_ast = nullptr;}
bool eq(const ast_i &other) const {
return _ast == other._ast;
}
@ -92,7 +92,7 @@ public:
m->inc_ref(a);
}
ast_r() {_m = 0;}
ast_r() {_m = nullptr;}
ast_r(const ast_r &other) : ast_i(other) {
_m = other._m;
@ -287,7 +287,7 @@ class iz3mgr {
symb sym(const ast& t){
raw_ast *_ast = t.raw();
return is_app(_ast) ? to_app(_ast)->get_decl() : 0;
return is_app(_ast) ? to_app(_ast)->get_decl() : nullptr;
}
std::string string_of_symbol(symb s){