mirror of
https://github.com/nlohmann/json.git
synced 2026-11-19 17:55:20 +00:00
Merge remote-tracking branch 'origin/develop' into fix-5443
This commit is contained in:
4 files changed
+324
-5
No files matched your search
@@ -1434,7 +1434,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)
|
||||
@@ -2211,7 +2211,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