Rename diff_target_values::small, which windows.h defines as a macro

<windows.h> (rpcndr.h) defines small as char, so test-windows_h did not
compile with MSVC.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
Niels Lohmann committed 2026-10-22 12:02:39 +02:00
1 parent 42bd27824e
commit 892a2dd957
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -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<const basic_json*> 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
+2 -2
View File
@@ -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<const basic_json*> 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