mirror of
https://github.com/nlohmann/json.git
synced 2026-10-22 14:08:13 +00:00
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:
2 files changed
+4
-4
No files matched your search
@@ -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
|
||||
|
||||
Generated
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user