aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/startingnode.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2017-11-11 18:51:13 +0100
committerRenaud G <renaud@rolisteam.org>2017-11-11 18:51:13 +0100
commitcedc70618afa6826d409a64078ea1a8ede4af06c (patch)
tree3082249db90f6eebe7b23b226c5c688e7f4648a5 /node/startingnode.cpp
parentf329a8e39beb732b5685eb01476221b461cc50d1 (diff)
downloadOneRoll-cedc70618afa6826d409a64078ea1a8ede4af06c.tar.gz
OneRoll-cedc70618afa6826d409a64078ea1a8ede4af06c.zip
-replace NULL to nullptr.
Diffstat (limited to 'node/startingnode.cpp')
-rw-r--r--node/startingnode.cpp8
1 files changed, 4 insertions, 4 deletions
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());
}