-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix OneToManyRelations and VectorMembers in cloned objects (#583)
* Fix issue with relations after reading and add test Fix an issue where it's not possible to push_back to a cloned object that has been read because all the OneToManyRelations in the same collection point to the same vector. The fix is to actually make a copy of the part of the vector that belongs to that object. * Fix also vector members * Implement the fix in clone() * Add a test for a collection with empty relations * Add test with rntuple * Fix a leak in the implementation * Add test case for SIO * Add test reading cloned objects --------- Co-authored-by: jmcarcell <[email protected]>
- Loading branch information
Showing
3 changed files
with
126 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters