Set parents after insert call (#4537)
* 🐛 set parents after insert call * 🚨 fix warning
This commit is contained in:
1 parent
30cd44df95
commit
094bd2651b
3 files changed
+22
No files matched your search
@@ -3402,6 +3402,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