Skip to content

Commit

Permalink
Renamed flag for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Urbanke committed Jun 14, 2024
1 parent e369940 commit 641ae00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/c_arrays_and_inheritance.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion include/rfl/internal/num_fields.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>();
Expand Down

0 comments on commit 641ae00

Please sign in to comment.