From 7a09aec44a201309be6d9652bc32e23d1d37e54f Mon Sep 17 00:00:00 2001 From: Kunal Tyagi Date: Sun, 26 Jun 2022 01:55:25 +0900 Subject: [PATCH] add initializer for the compiler, despite not needing one --- tests/src/unit-udt_macro.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; \ \