diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp index a9b6fe0b0..99b771990 100644 --- a/include/nlohmann/json.hpp +++ b/include/nlohmann/json.hpp @@ -7515,9 +7515,9 @@ public: private: static constexpr std::size_t inline_size = 16; std::size_t count = 0; - const basic_json** items = small; + const basic_json** items = inline_items; std::vector large{}; // NOLINT(readability-redundant-member-init) - const basic_json* small[inline_size]; // NOLINT(cppcoreguidelines-pro-type-member-init,hicpp-member-init) + const basic_json* inline_items[inline_size]; // NOLINT(cppcoreguidelines-pro-type-member-init,hicpp-member-init) }; /// @brief append "/" and the decimal representation of @a index to @a path diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 45c474078..03811280a 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -40024,9 +40024,9 @@ public: private: static constexpr std::size_t inline_size = 16; std::size_t count = 0; - const basic_json** items = small; + const basic_json** items = inline_items; std::vector large{}; // NOLINT(readability-redundant-member-init) - const basic_json* small[inline_size]; // NOLINT(cppcoreguidelines-pro-type-member-init,hicpp-member-init) + const basic_json* inline_items[inline_size]; // NOLINT(cppcoreguidelines-pro-type-member-init,hicpp-member-init) }; /// @brief append "/" and the decimal representation of @a index to @a path