We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f58c59b commit 87d2f03Copy full SHA for 87d2f03
include/behaviortree_cpp/decorators/loop_node.h
@@ -60,7 +60,8 @@ class LoopNode : public DecoratorNode
60
// special case: the port contains a string that was converted to SharedQueue<T>
61
if(static_queue_)
62
{
63
- current_queue_ = static_queue_;
+ current_queue_ = std::make_shared<std::deque<T>>();
64
+ *current_queue_ = *static_queue_;
65
}
66
67
0 commit comments