Skip to content

Commit bbe5d84

Browse files
committed
tiny fix
1 parent 55a7b70 commit bbe5d84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/behaviortree_cpp/json_export.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ inline void RegisterJsonDefinition()
142142
template <class AddField> \
143143
void _JsonTypeDefinition(Type&, AddField&); \
144144
\
145-
inline void to_json(nlohmann::json& js, const Type& p, bool add_type_name = false) \
145+
inline void to_json(nlohmann::json& js, const Type& p) \
146146
{ \
147147
auto op = [&js](const char* name, auto* val) { to_json(js[name], *val); }; \
148148
_JsonTypeDefinition(const_cast<Type&>(p), op); \

0 commit comments

Comments
 (0)