mirror of
https://github.com/nlohmann/json.git
synced 2026-10-17 19:48:12 +00:00
Follow the renames from the review of the view builder
The review of #5620 renamed document_data's tape/tape_size/tape_cap to nodes/node_count/node_capacity and made the decode arena a std::vector<char>; adapt the code of this change to it. Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -125,7 +125,7 @@ inline void build_object_indexes(document_data& d)
|
|||||||
{
|
{
|
||||||
for (const std::uint32_t i : d.large_objects)
|
for (const std::uint32_t i : d.large_objects)
|
||||||
{
|
{
|
||||||
build_object_index(d, d.tape + i);
|
build_object_index(d, d.nodes + i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Generated
+1
-1
@@ -3225,7 +3225,7 @@ inline void build_object_indexes(document_data& d)
|
|||||||
{
|
{
|
||||||
for (const std::uint32_t i : d.large_objects)
|
for (const std::uint32_t i : d.large_objects)
|
||||||
{
|
{
|
||||||
build_object_index(d, d.tape + i);
|
build_object_index(d, d.nodes + i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user