mirror of
https://github.com/nlohmann/json.git
synced 2026-10-10 00:17:13 +00:00
Set parents after insert call (#4537)
* 🐛 set parents after insert call * 🚨 fix warning
This commit is contained in:
3 files changed
+22
No files matched your search
@@ -22988,6 +22988,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