Change NULLs to nullptrs.
This commit is contained in:
parent
63b1453dd8
commit
8a62423970
24 changed files with 115 additions and 115 deletions
|
@ -57,7 +57,7 @@ public:
|
|||
// advance the read pointer
|
||||
m_read_ptr = m_read_ptr->next;
|
||||
// set the next element to NULL to stop the recursive deletion
|
||||
tmpptr->next = NULL;
|
||||
tmpptr->next = nullptr;
|
||||
delete tmpptr; // this also deletes the element
|
||||
}
|
||||
|
||||
|
@ -86,7 +86,7 @@ private:
|
|||
class ElementPtr
|
||||
{
|
||||
public:
|
||||
ElementPtr() : current(NULL), next(NULL) {}
|
||||
ElementPtr() : current(nullptr), next(nullptr) {}
|
||||
|
||||
~ElementPtr()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue