Update comment for Maggie

This commit is contained in:
liuzicheng1987
2023-11-03 22:43:24 +01:00
committed by GitHub
parent 6e77be2992
commit 47d17bc0d6
+1 -1
View File
@@ -65,7 +65,7 @@ const auto lisa = Person{
};
// Returns a deep copy of the original object,
// replacing first_name.
// replacing first_name, email and age.
const auto maggie =
rfl::replace(lisa, rfl::make_field<"firstName">(std::string("Maggie")),
rfl::make_field<"email">(std::string("maggie@simpson.com")),