mirror of
https://github.com/Z3Prover/z3
synced 2025-08-18 09:12:16 +00:00
Use nullptr.
This commit is contained in:
parent
f01328c65f
commit
76eb7b9ede
625 changed files with 4639 additions and 4639 deletions
|
@ -50,7 +50,7 @@ namespace smt {
|
|||
expr * m_expr;
|
||||
func_decl * m_parent;
|
||||
unsigned m_parent_pos;
|
||||
entry(expr * n = 0, func_decl * d = 0, unsigned p = 0):m_expr(n), m_parent(d), m_parent_pos(p) {}
|
||||
entry(expr * n = nullptr, func_decl * d = nullptr, unsigned p = 0):m_expr(n), m_parent(d), m_parent_pos(p) {}
|
||||
unsigned hash() const { return m_parent ? mk_mix(m_expr->get_id(), m_parent->get_id(), m_parent_pos) : m_expr->get_id(); }
|
||||
bool operator==(entry const & e) const { return m_expr == e.m_expr && m_parent == e.m_parent && m_parent_pos == e.m_parent_pos; }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue