diff --git a/tests/src/unit-udt_macro.cpp b/tests/src/unit-udt_macro.cpp index c08797460..397b91338 100644 --- a/tests/src/unit-udt_macro.cpp +++ b/tests/src/unit-udt_macro.cpp @@ -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; \ \