💚 fix build

parent b0d8628c
......@@ -3609,8 +3609,10 @@ class basic_json
#endif
m_value.array->resize(idx + 1);
#if JSON_DIAGNOSTICS
// set parent for values added above
set_parents(begin() + previous_size, idx + 1 - previous_size);
#endif
}
return m_value.array->operator[](idx);
......
......@@ -20364,8 +20364,10 @@ class basic_json
#endif
m_value.array->resize(idx + 1);
#if JSON_DIAGNOSTICS
// set parent for values added above
set_parents(begin() + previous_size, idx + 1 - previous_size);
#endif
}
return m_value.array->operator[](idx);
......
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