Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to makeEmpty factory methods for initializing empty edm4hep objects #254

Merged
merged 2 commits into from
Nov 22, 2023

Conversation

tmadlener
Copy link
Contributor

The public object constructor from an Obj* is removed with AIDASoft/podio#514 and instead replaced with the makeEmpty factory method that has the same result. This PR introduces the necessary changes in a backwards compatible manner, so that things should keep working after the podio PR has been merged.

If a sort of "clean cut" is desired I can also remove the pre-processor checks and instead bump the required podio version in the CMake configuration to keep things working. In that case we would have to wait until AIDASoft/podio#514 is merged and there is a new podio tag after that.

That has been removed in AIDASoft/podio#514 and the makeEmpty factory
method has been introduced instead.
Copy link
Member

@mirguest mirguest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thank you.

@mirguest mirguest merged commit cc6174b into cepc:master Nov 22, 2023
2 checks passed
@tmadlener tmadlener deleted the podio-maybe-shared-ptr branch December 11, 2023 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants