👌 address comment
This commit is contained in:
parent
a77621687a
commit
0d1fb383b7
@ -167,9 +167,7 @@ struct external_constructor<value_t::array>
|
|||||||
for (const bool x : arr)
|
for (const bool x : arr)
|
||||||
{
|
{
|
||||||
j.m_value.array->push_back(x);
|
j.m_value.array->push_back(x);
|
||||||
#if JSON_DIAGNOSTICS
|
j.set_parent(j.m_value.array->back());
|
||||||
j.m_value.array->back().m_parent = &j;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
j.assert_invariant();
|
j.assert_invariant();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4337,9 +4337,7 @@ struct external_constructor<value_t::array>
|
|||||||
for (const bool x : arr)
|
for (const bool x : arr)
|
||||||
{
|
{
|
||||||
j.m_value.array->push_back(x);
|
j.m_value.array->push_back(x);
|
||||||
#if JSON_DIAGNOSTICS
|
j.set_parent(j.m_value.array->back());
|
||||||
j.m_value.array->back().m_parent = &j;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
j.assert_invariant();
|
j.assert_invariant();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user