diff options
| author | 2017-11-11 18:51:13 +0100 | |
|---|---|---|
| committer | 2017-11-11 18:51:13 +0100 | |
| commit | cedc70618afa6826d409a64078ea1a8ede4af06c (patch) | |
| tree | 3082249db90f6eebe7b23b226c5c688e7f4648a5 /node/stringnode.cpp | |
| parent | f329a8e39beb732b5685eb01476221b461cc50d1 (diff) | |
| download | OneRoll-cedc70618afa6826d409a64078ea1a8ede4af06c.tar.gz OneRoll-cedc70618afa6826d409a64078ea1a8ede4af06c.zip | |
-replace NULL to nullptr.
Diffstat (limited to 'node/stringnode.cpp')
| -rw-r--r-- | node/stringnode.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/node/stringnode.cpp b/node/stringnode.cpp index d427cd6..af2fcda 100644 --- a/node/stringnode.cpp +++ b/node/stringnode.cpp @@ -9,11 +9,11 @@ StringNode::StringNode() void StringNode::run(ExecutionNode *previous) { m_previousNode = previous; - if(NULL!=previous) + if(nullptr!=previous) { m_result->setPrevious(previous->getResult()); } - if(NULL!=m_nextNode) + if(nullptr!=m_nextNode) { m_nextNode->run(this); } @@ -111,7 +111,7 @@ QString StringNode::toString(bool withLabel) const qint64 StringNode::getPriority() const { qint64 priority=0; - if(NULL!=m_nextNode) + if(nullptr!=m_nextNode) { priority = m_nextNode->getPriority(); } @@ -121,7 +121,7 @@ ExecutionNode* StringNode::getCopy() const { StringNode* node = new StringNode(); node->setString(m_data); - if(NULL!=m_nextNode) + if(nullptr!=m_nextNode) { node->setNextNode(m_nextNode->getCopy()); } |