mirror of
https://github.com/nlohmann/json.git
synced 2026-09-12 19:27:59 +00:00
Merge remote-tracking branch 'origin/develop' into fix-5443
This commit is contained in:
@@ -13442,7 +13442,7 @@ class binary_reader
|
||||
// a copy, not a reference: it must stay valid across the
|
||||
// pop_back() below, which destroys the container_stack element
|
||||
// it would otherwise alias
|
||||
container_frame top = container_stack.back();
|
||||
const container_frame top = container_stack.back();
|
||||
bool at_end = false;
|
||||
|
||||
if (top.remaining != npos)
|
||||
@@ -14219,7 +14219,7 @@ class binary_reader
|
||||
// would otherwise alias.
|
||||
for (;;)
|
||||
{
|
||||
container_frame top = container_stack.back();
|
||||
const container_frame top = container_stack.back();
|
||||
|
||||
if (top.remaining != npos)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user