Tell json to be more strict about missing fields to avoid that bug in the future, then fix all of the data.
This commit is contained in:
parent
b6831b75a3
commit
27bb08d62c
4 changed files with 56 additions and 39 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
|
||||
#define ENROLL_COMPONENT(COMPONENT, ...) \
|
||||
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT(COMPONENT, __VA_ARGS__); \
|
||||
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(COMPONENT, __VA_ARGS__); \
|
||||
template <> struct NameOf<COMPONENT> { \
|
||||
static constexpr const char *name = #COMPONENT; \
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue