You do not need to create an object to call a static function.
This commit is contained in:
@@ -79,9 +79,8 @@ void ExecutionSystemHelper::addNode(vector<Node *>& nodes, Node *node)
|
|||||||
|
|
||||||
Node *ExecutionSystemHelper::addNode(vector<Node *>& nodes, bNode *b_node, bool inActiveGroup, bool fast)
|
Node *ExecutionSystemHelper::addNode(vector<Node *>& nodes, bNode *b_node, bool inActiveGroup, bool fast)
|
||||||
{
|
{
|
||||||
Converter converter;
|
|
||||||
Node *node;
|
Node *node;
|
||||||
node = converter.convert(b_node, fast);
|
node = Converter::convert(b_node, fast);
|
||||||
node->setIsInActiveGroup(inActiveGroup);
|
node->setIsInActiveGroup(inActiveGroup);
|
||||||
if (node != NULL) {
|
if (node != NULL) {
|
||||||
addNode(nodes, node);
|
addNode(nodes, node);
|
||||||
|
|||||||
Reference in New Issue
Block a user