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/startingnode.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'node/startingnode.cpp') diff --git a/node/startingnode.cpp b/node/startingnode.cpp index 3cd3352..670dc7d 100644 --- a/node/startingnode.cpp +++ b/node/startingnode.cpp @@ -26,8 +26,8 @@ StartingNode::StartingNode() } void StartingNode::run(ExecutionNode*) { - m_previousNode = NULL; - if(NULL!=m_nextNode) + m_previousNode = nullptr; + if(nullptr!=m_nextNode) { m_nextNode->run(this); } @@ -48,7 +48,7 @@ QString StartingNode::toString(bool withlabel) const qint64 StartingNode::getPriority() const { qint64 priority=0; - if(NULL!=m_nextNode) + if(nullptr!=m_nextNode) { priority = m_nextNode->getPriority(); } @@ -57,7 +57,7 @@ qint64 StartingNode::getPriority() const ExecutionNode* StartingNode::getCopy() const { StartingNode* node = new StartingNode(); - if(NULL!=m_nextNode) + if(nullptr!=m_nextNode) { node->setNextNode(m_nextNode->getCopy()); } -- cgit v1.2.3-70-g09d2