-
Notifications
You must be signed in to change notification settings - Fork 29
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
fix: move static ParticleMap into header as inline for downstream use #1538
base: main
Are you sure you want to change the base?
Conversation
d25af63
to
5b62cce
Compare
Capybara summary for PR 1538 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Compiles and runs without issue. Slightly different output compared to what I get from standard eicrecon. Does this matter? @wdconinc
Capybara claims no differences. This shouldn't introduce any differences at all, so I'm surprised it's showing differences for you. |
@rahmans1 Can you explain why you see differences here? Is your 'standard' eicrecon the one just before this PR/commit, or could it include other merges? Based on capybara, I don't see any diffs. |
5b62cce
to
0899a40
Compare
Quality Gate passedIssues Measures |
Briefly, what does this PR introduce?
Downstream plugins that use the ParticleSvc as an interface just include the header and are supposed to link against the library to get the static member. Having to load a shared library for just a static list is a bit annoying for a servicde interface definition.
This PR moves the static default list into an inline static definition (not a shared_ptr), and everything now lives in the header.
What kind of change does this PR introduce?
Please check if this PR fulfills the following:
Does this PR introduce breaking changes? What changes might users need to make to their code?
No.
Does this PR change default behavior?
No.