You do not need to create an object to call a static function.

This commit is contained in:
2012-07-05 20:44:42 +00:00
parent 9f7db7f3ea
commit 3e073f42a5

View File

@@ -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);