mirror of
https://github.com/nlohmann/json.git
synced 2025-07-31 10:24:23 +03:00
Set parents after insert call (#4537)
* 🐛 set parents after insert call * 🚨 fix warning
This commit is contained in:
@ -22982,6 +22982,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec
|
||||
}
|
||||
|
||||
m_data.m_value.object->insert(first.m_it.object_iterator, last.m_it.object_iterator);
|
||||
set_parents();
|
||||
}
|
||||
|
||||
/// @brief updates a JSON object from another object, overwriting existing keys
|
||||
|
Reference in New Issue
Block a user