aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common/fifo_queue.h
diff options
context:
space:
mode:
authorGravatar darkf <lw9k123@gmail.com>2014-12-29 19:47:41 -0800
committerGravatar darkf <lw9k123@gmail.com>2014-12-29 19:47:41 -0800
commit8ba9ac0f74abb0408a26207a76a0c1808bad8de0 (patch)
treef1c7c3393fa726435b5b90bf335567c93e528ef1 /src/common/fifo_queue.h
parenta19354acedbfeafd28219c48a1ec32f76dd17a54 (diff)
parent3d14eb285382740b144e5b047cb2ad072f6129ea (diff)
Fix merge conflicts
Diffstat (limited to 'src/common/fifo_queue.h')
-rw-r--r--src/common/fifo_queue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/fifo_queue.h b/src/common/fifo_queue.h
index 2c18285d..b426e659 100644
--- a/src/common/fifo_queue.h
+++ b/src/common/fifo_queue.h
@@ -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()
{