Skip to content

Commit d23578b

Browse files
committed
fix warnings
1 parent 063c158 commit d23578b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

include/behaviortree_cpp_v3/bt_factory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ template <typename T> inline
7979
template <typename T> inline
8080
TreeNodeManifest CreateManifest(const std::string& ID, PortsList portlist = getProvidedPorts<T>())
8181
{
82-
return { getType<T>(), ID, portlist };
82+
return { getType<T>(), ID, portlist, {} };
8383
}
8484

8585

src/bt_factory.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ void BehaviorTreeFactory::registerSimpleCondition(const std::string& ID,
109109
return std::make_unique<SimpleConditionNode>(name, tick_functor, config);
110110
};
111111

112-
TreeNodeManifest manifest = { NodeType::CONDITION, ID, std::move(ports) };
112+
TreeNodeManifest manifest = { NodeType::CONDITION, ID, std::move(ports), {} };
113113
registerBuilder(manifest, builder);
114114
}
115115

@@ -121,7 +121,7 @@ void BehaviorTreeFactory::registerSimpleAction(const std::string& ID,
121121
return std::make_unique<SimpleActionNode>(name, tick_functor, config);
122122
};
123123

124-
TreeNodeManifest manifest = { NodeType::ACTION, ID, std::move(ports) };
124+
TreeNodeManifest manifest = { NodeType::ACTION, ID, std::move(ports), {} };
125125
registerBuilder(manifest, builder);
126126
}
127127

@@ -133,7 +133,7 @@ void BehaviorTreeFactory::registerSimpleDecorator(const std::string& ID,
133133
return std::make_unique<SimpleDecoratorNode>(name, tick_functor, config);
134134
};
135135

136-
TreeNodeManifest manifest = { NodeType::DECORATOR, ID, std::move(ports) };
136+
TreeNodeManifest manifest = { NodeType::DECORATOR, ID, std::move(ports), {} };
137137
registerBuilder(manifest, builder);
138138
}
139139

0 commit comments

Comments
 (0)