Renamed flag for consistency

This commit is contained in:
Patrick Urbanke
2024-06-15 00:30:28 +02:00
parent e36994084d
commit 641ae00b9f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ inheritance altogether.
Note that C arrays are not the same thing as `std::array`. `std::array` is always
supported and is the recommended alternative.
If you want support for these, you will have to pass the flag `-D REFLECT_CPP_C_ARRAYS_OR_INHERITANCE`
If you want support for these, you will have to pass the flag `-D REFLECTCPP_C_ARRAYS_OR_INHERITANCE`
during compilation.
## C arrays
+1 -1
View File
@@ -182,7 +182,7 @@ struct CountFieldsHelper {
static consteval std::size_t count_fields() {
constexpr std::size_t max_agg_args = count_max_args_in_agg();
#ifdef REFLECT_CPP_C_ARRAYS_OR_INHERITANCE
#ifdef REFLECTCPP_C_ARRAYS_OR_INHERITANCE
constexpr std::size_t no_brace_ellison_args =
constructible_no_brace_elision<0, max_agg_args>();
constexpr std::size_t base_args = base_param_num<no_brace_ellison_args>();