We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 423e970 commit 24fdf21Copy full SHA for 24fdf21
include/behaviortree_cpp/basic_types.h
@@ -368,9 +368,7 @@ class TypeInfo
368
using Chain = compute_base_chain<Elem>;
369
auto base_chain = to_type_index_vector(Chain{});
370
371
- return TypeInfo(typeid(std::shared_ptr<RootBase>),
372
- GetAnyFromStringFunctor<std::shared_ptr<RootBase>>(),
373
- std::move(base_chain));
+ return TypeInfo(typeid(T), GetAnyFromStringFunctor<T>(), std::move(base_chain);
374
}
375
376
return TypeInfo{ typeid(T), GetAnyFromStringFunctor<T>() };
0 commit comments