Skip to content

fix: Circumvent symbol visibility issues with templated final classes#5547

Merged
kodiakhq[bot] merged 4 commits into
acts-project:mainfrom
andiwand:fix-circumvent-symbol-visibility-template-final-class
Jun 6, 2026
Merged

fix: Circumvent symbol visibility issues with templated final classes#5547
kodiakhq[bot] merged 4 commits into
acts-project:mainfrom
andiwand:fix-circumvent-symbol-visibility-template-final-class

Conversation

@andiwand

@andiwand andiwand commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

As discovered with #5536 there seems to be a general risk of using template class final which makes dynamic_cast fail across shared library boundaries. The easiest path to circumvent the problem right now appears to be dropping final from the class and making the functions final instead which results almost in the same behavior.

--- END COMMIT MESSAGE ---

References

@github-actions github-actions Bot added Component - Core Affects the Core module Component - Examples Affects the Examples module Event Data Model labels Jun 4, 2026
@github-actions github-actions Bot added this to the next milestone Jun 4, 2026
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

📊: Physics performance monitoring for 7694f59

Full contents

physmon summary

@andiwand andiwand marked this pull request as ready for review June 5, 2026 16:10
@jpreston-cern

Copy link
Copy Markdown
Contributor

Just tested on running GBTS in examples which was originally getting an std::bad_cast error from the linking issue, and is now fixed with these changes

@paulgessinger

Copy link
Copy Markdown
Member

It's annoying that we have to do this, but oh well.

@sonarqubecloud

sonarqubecloud Bot commented Jun 6, 2026

Copy link
Copy Markdown

@kodiakhq kodiakhq Bot merged commit 04ebfba into acts-project:main Jun 6, 2026
45 checks passed
@github-actions github-actions Bot removed the automerge label Jun 6, 2026
@andiwand andiwand deleted the fix-circumvent-symbol-visibility-template-final-class branch June 6, 2026 12:35
@andiwand andiwand modified the milestones: next, v46.8.0 Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component - Core Affects the Core module Component - Examples Affects the Examples module Event Data Model

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants