diff --git a/docs/c_arrays_and_inheritance.md b/docs/c_arrays_and_inheritance.md index 3f39dd1b..0d45e1e8 100644 --- a/docs/c_arrays_and_inheritance.md +++ b/docs/c_arrays_and_inheritance.md @@ -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 diff --git a/include/rfl/internal/num_fields.hpp b/include/rfl/internal/num_fields.hpp index 437de08d..ba00e05d 100644 --- a/include/rfl/internal/num_fields.hpp +++ b/include/rfl/internal/num_fields.hpp @@ -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();