add initializer for the compiler, despite not needing one
This commit is contained in:
parent
3170fbad8b
commit
7a09aec44a
@ -37,7 +37,7 @@ using nlohmann::json;
|
||||
namespace persons {
|
||||
#define PERSON_CLASS_BODY(ClassName, Visibility) \
|
||||
Visibility: \
|
||||
std::string name; \
|
||||
std::string name = ""; \
|
||||
int age = 0; \
|
||||
json metadata = nullptr; \
|
||||
\
|
||||
|
||||
Loading…
Reference in New Issue
Block a user