Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Oct 8, 2024
1 parent 66d682b commit f3f07dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/struct_pb/examples/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ struct person {
std::string name;
int age;
};
#if __cplusplus >= 202002L

#if __GNUC__ < 11 || __cplusplus < 202002L
YLT_REFL(person, id, name, age);
#endif

Expand Down

0 comments on commit f3f07dc

Please sign in to comment.