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

Skip to content

Commit 9c9ff1a

Browse files
author
Davide Faconti
committed
fix warning
1 parent 22c6350 commit 9c9ff1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/behaviortree_cpp/bt_factory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ class BehaviorTreeFactory
196196
template <typename T>
197197
NodeBuilder getBuilderImpl(typename std::enable_if<!has_default_constructor<T>::value && has_params_constructor<T>::value >::type* = nullptr)
198198
{
199-
return [this](const std::string& name, const NodeParameters& params)
199+
return [](const std::string& name, const NodeParameters& params)
200200
{
201201
return std::unique_ptr<TreeNode>(new T(name, params));
202202
};

0 commit comments

Comments
 (0)