aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/listaliasnode.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/listaliasnode.cpp
parentf329a8e39beb732b5685eb01476221b461cc50d1 (diff)
downloadOneRoll-cedc70618afa6826d409a64078ea1a8ede4af06c.tar.gz
OneRoll-cedc70618afa6826d409a64078ea1a8ede4af06c.zip
-replace NULL to nullptr.
Diffstat (limited to 'node/listaliasnode.cpp')
-rw-r--r--node/listaliasnode.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/node/listaliasnode.cpp b/node/listaliasnode.cpp
index 91644d4..642f601 100644
--- a/node/listaliasnode.cpp
+++ b/node/listaliasnode.cpp
@@ -31,9 +31,9 @@ void ListAliasNode::run(ExecutionNode* previous )
StringResult* txtResult = dynamic_cast<StringResult*>(m_result);
txtResult->setHighLight(false);
- if(NULL != previous)
+ if(nullptr != previous)
{
- if(previous->getResult() == NULL)
+ if(previous->getResult() == nullptr)
{
txtResult->setText(buildList());
@@ -45,7 +45,7 @@ void ListAliasNode::run(ExecutionNode* previous )
m_result->setPrevious(previous->getResult());
}
- if(NULL!=m_nextNode)
+ if(nullptr!=m_nextNode)
{
m_nextNode->run(this);
}
@@ -84,7 +84,7 @@ qint64 ListAliasNode::getPriority() const
ExecutionNode* ListAliasNode::getCopy() const
{
ListAliasNode* node = new ListAliasNode(m_aliasList);
- if(NULL!=m_nextNode)
+ if(nullptr!=m_nextNode)
{
node->setNextNode(m_nextNode->getCopy());
}