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 {
|
namespace persons {
|
||||||
#define PERSON_CLASS_BODY(ClassName, Visibility) \
|
#define PERSON_CLASS_BODY(ClassName, Visibility) \
|
||||||
Visibility: \
|
Visibility: \
|
||||||
std::string name; \
|
std::string name = ""; \
|
||||||
int age = 0; \
|
int age = 0; \
|
||||||
json metadata = nullptr; \
|
json metadata = nullptr; \
|
||||||
\
|
\
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user