Skip to content

[QC-627] Mergers: add postDeserialization() callback and prioritize MergeInterface#6811

Merged
Barthelemy merged 1 commit into
AliceO2Group:devfrom
knopers8:mergers-fix-leak
Aug 9, 2021
Merged

[QC-627] Mergers: add postDeserialization() callback and prioritize MergeInterface#6811
Barthelemy merged 1 commit into
AliceO2Group:devfrom
knopers8:mergers-fix-leak

Conversation

@knopers8
Copy link
Copy Markdown
Collaborator

@knopers8 knopers8 commented Aug 6, 2021

This lets the children of MergeInterface to perform any cleanups after ROOT deserializes the object. The main use-case is setting the valid ownership, which cannot be propely set while serializing it for any reason.
We also prioritize storing an object as MergeInterface* over TObject* when a class inherits both (MergeInterface::merge() was already prioritized, this does not change).

…face

This lets the children of MergeInterface to perform any cleanups after
ROOT deserializes the object. The main use-case is setting the valid ownership,
which cannot be propely set while serializing it for any reason.
We also prioritize MergeInterface over TObject when a class inherits both.
@Barthelemy
Copy link
Copy Markdown
Collaborator

the macOS failure is not related, merging.

@Barthelemy Barthelemy merged commit d2c0d90 into AliceO2Group:dev Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants