mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-02 16:16:19 +08:00
Got rid of ugly warning
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user