💚 fix build
This commit is contained in:
parent
b0d8628c49
commit
7633a21e6c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user