👌 address comment

parent a7762168
...@@ -167,9 +167,7 @@ struct external_constructor<value_t::array> ...@@ -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> ...@@ -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();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment