From cedc70618afa6826d409a64078ea1a8ede4af06c Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sat, 11 Nov 2017 18:51:13 +0100 Subject: -replace NULL to nullptr. --- node/splitnode.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'node/splitnode.cpp') diff --git a/node/splitnode.cpp b/node/splitnode.cpp index a074248..ed32fdd 100644 --- a/node/splitnode.cpp +++ b/node/splitnode.cpp @@ -29,7 +29,7 @@ SplitNode::SplitNode() void SplitNode::run(ExecutionNode* previous) { m_previousNode = previous; - if(NULL!=previous) + if(nullptr!=previous) { m_result->setPrevious(previous->getResult()); @@ -56,7 +56,7 @@ void SplitNode::run(ExecutionNode* previous) } } } - if(NULL!=m_nextNode) + if(nullptr!=m_nextNode) { m_nextNode->run(this); } @@ -76,7 +76,7 @@ QString SplitNode::toString(bool withLabel) const qint64 SplitNode::getPriority() const { qint64 priority=0; - if(NULL!=m_nextNode) + if(nullptr!=m_nextNode) { priority = m_nextNode->getPriority(); } @@ -85,7 +85,7 @@ qint64 SplitNode::getPriority() const ExecutionNode* SplitNode::getCopy() const { SplitNode* node = new SplitNode(); - if(NULL!=m_nextNode) + if(nullptr!=m_nextNode) { node->setNextNode(m_nextNode->getCopy()); } -- cgit v1.2.3-70-g09d2