Skip to content
Snippets Groups Projects
Commit 27ba2c6f authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

fixed naming of buildNode; not build_node

parent 920f7f3d
No related branches found
No related tags found
Loading
Pipeline #20816 passed
......@@ -52,7 +52,7 @@ ProcessManager::buildProcessTree(std::vector<std::shared_ptr<Parser::Node>> root
else
{
Debug("building Node for %s", c->oper);
auto c_ptr = buildNode(c);
auto c_ptr = build_node(c);
first_process->add_child(c_ptr);
c_ptr->add_parent(first_process);
}
......@@ -63,7 +63,7 @@ ProcessManager::buildProcessTree(std::vector<std::shared_ptr<Parser::Node>> root
}
std::shared_ptr<Process>
ProcessManager::buildNode(std::shared_ptr<Parser::Node> parent_node)
ProcessManager::build_node(std::shared_ptr<Parser::Node> parent_node)
{
Debug("Building process for ptr %s", parent_node->oper);
auto parent_process = create_process(parent_node->oper, split_args(parent_node->arguments));
......@@ -77,7 +77,7 @@ ProcessManager::buildNode(std::shared_ptr<Parser::Node> parent_node)
else
{
Debug("Building Process for %s", child_node->oper);
auto child_process = buildNode(child_node);
auto child_process = build_node(child_node);
parent_process->add_child(child_process);
child_process->add_parent(parent_process);
}
......
......@@ -54,7 +54,7 @@ public:
void buildProcessTree(std::vector<std::shared_ptr<Parser::Node>> root);
std::shared_ptr<Process> buildNode(std::shared_ptr<Parser::Node> ptr);
std::shared_ptr<Process> build_node(std::shared_ptr<Parser::Node> ptr);
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment