Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7f862d0

Browse files
committed
Non-functional refactoring of xml_parsing to clean up the code
1 parent ab58236 commit 7f862d0

File tree

3 files changed

+146
-136
lines changed

3 files changed

+146
-136
lines changed

examples/t05_crossdoor.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ int main()
6767
PublisherZMQ publisher_zmq(tree.root_node);
6868
#endif
6969

70+
printTreeRecursively(tree.root_node);
71+
7072
//while (1)
7173
{
7274
NodeStatus status = NodeStatus::RUNNING;

include/behaviortree_cpp/xml_parsing.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ class XMLParser
1919

2020
void loadFromText(const std::string& xml_text);
2121

22-
using NodeBuilder = std::function<TreeNode::Ptr(const std::string&, const std::string&,
23-
const NodeParameters&, TreeNode::Ptr)>;
24-
2522
TreeNode::Ptr instantiateTree(std::vector<TreeNode::Ptr>& nodes, const Blackboard::Ptr &blackboard);
2623

2724
private:

0 commit comments

Comments
 (0)