Got rid of ugly warning

This commit is contained in:
Patrick Urbanke
2023-11-29 20:42:51 +01:00
parent aecff5835a
commit f0945fdd27
+1 -1
View File
@@ -12,7 +12,7 @@ namespace test_optional_fields {
struct Person {
rfl::Rename<"firstName", std::string> first_name;
rfl::Rename<"lastName", std::string> last_name = "Simpson";
std::optional<std::vector<Person>> children;
rfl::Rename<"children", std::optional<std::vector<Person>>> children;
};
void test() {