add initializer for the compiler, despite not needing one

This commit is contained in:
Kunal Tyagi 2022-06-26 01:55:25 +09:00
parent 3170fbad8b
commit 7a09aec44a

View File

@ -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; \
\