mirror of
https://github.com/Z3Prover/z3
synced 2025-06-19 12:23:38 +00:00
Use nullptr.
This commit is contained in:
parent
f01328c65f
commit
76eb7b9ede
625 changed files with 4639 additions and 4639 deletions
|
@ -121,7 +121,7 @@ public:
|
|||
bool find(symbol key, T & result) const {
|
||||
key_data dummy(key);
|
||||
hash_entry * e = m_sym_table.find_core(dummy);
|
||||
if (e == 0) {
|
||||
if (e == nullptr) {
|
||||
return false;
|
||||
}
|
||||
result = e->get_data().m_data;
|
||||
|
@ -140,7 +140,7 @@ public:
|
|||
if (get_scope_level() > 0) {
|
||||
key_data dummy(key);
|
||||
hash_entry * e = m_sym_table.find_core(dummy);
|
||||
if (e != 0) {
|
||||
if (e != nullptr) {
|
||||
m_trail_stack.push_back(e->m_data);
|
||||
e->m_data.m_data = data;
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue