mirror of
https://github.com/Z3Prover/z3
synced 2025-05-02 13:27:01 +00:00
Use nullptr.
This commit is contained in:
parent
f01328c65f
commit
76eb7b9ede
625 changed files with 4639 additions and 4639 deletions
|
@ -28,7 +28,7 @@ class list {
|
|||
list * m_tail;
|
||||
|
||||
public:
|
||||
list(T const & h, list * t = 0):
|
||||
list(T const & h, list * t = nullptr):
|
||||
m_head(h),
|
||||
m_tail(t) {
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ unsigned length(list<T> * l) {
|
|||
*/
|
||||
template<typename T>
|
||||
list<T> * append(region & r, list<T> * l1, list<T> * l2) {
|
||||
if (l2 == 0) {
|
||||
if (l2 == nullptr) {
|
||||
return l1;
|
||||
}
|
||||
ptr_buffer<list<T> > buffer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue