From f0ade121f9cef3b39c41816536f4e400f43dd4af Mon Sep 17 00:00:00 2001 From: Renaud Guezennec Date: Tue, 28 Nov 2017 11:26:09 +0100 Subject: -fix copy of if operator Compare method was not shared. --- node/startingnode.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'node/startingnode.cpp') diff --git a/node/startingnode.cpp b/node/startingnode.cpp index 670dc7d..210606b 100644 --- a/node/startingnode.cpp +++ b/node/startingnode.cpp @@ -26,7 +26,7 @@ StartingNode::StartingNode() } void StartingNode::run(ExecutionNode*) { - m_previousNode = nullptr; + m_previousNode = nullptr; if(nullptr!=m_nextNode) { m_nextNode->run(this); @@ -34,14 +34,14 @@ void StartingNode::run(ExecutionNode*) } QString StartingNode::toString(bool withlabel) const { - if(withlabel) - { - return QString("%1 [label=\"StartingNode\"]").arg(m_id); - } - else - { - return m_id; - } + if(withlabel) + { + return QString("%1 [label=\"StartingNode\"]").arg(m_id); + } + else + { + return m_id; + } } -- cgit v1.2.3-70-g09d2