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 55a7b70 commit bbe5d84Copy full SHA for bbe5d84
include/behaviortree_cpp/json_export.h
@@ -142,7 +142,7 @@ inline void RegisterJsonDefinition()
142
template <class AddField> \
143
void _JsonTypeDefinition(Type&, AddField&); \
144
\
145
- inline void to_json(nlohmann::json& js, const Type& p, bool add_type_name = false) \
+ inline void to_json(nlohmann::json& js, const Type& p) \
146
{ \
147
auto op = [&js](const char* name, auto* val) { to_json(js[name], *val); }; \
148
_JsonTypeDefinition(const_cast<Type&>(p), op); \
0 commit comments