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:
Niels Lohmann
2026-10-16 08:25:39 +02:00
parent 08809fb592
commit d5cb3e1f75
2 changed files with 2 additions and 2 deletions

View File

@@ -125,7 +125,7 @@ inline void build_object_indexes(document_data& d)
{
for (const std::uint32_t i : d.large_objects)
{
build_object_index(d, d.tape + i);
build_object_index(d, d.nodes + i);
}
}

View File

@@ -3236,7 +3236,7 @@ inline void build_object_indexes(document_data& d)
{
for (const std::uint32_t i : d.large_objects)
{
build_object_index(d, d.tape + i);
build_object_index(d, d.nodes + i);
}
}