Skip to content

Fix a number of compilation warnings:#11

Open
scott-snyder wants to merge 1 commit into
iLCSoft:masterfrom
scott-snyder:warn-20250312
Open

Fix a number of compilation warnings:#11
scott-snyder wants to merge 1 commit into
iLCSoft:masterfrom
scott-snyder:warn-20250312

Conversation

@scott-snyder

Copy link
Copy Markdown
  • The TEveTrackPropagator base of TRKTrack does not have a public copy ctor. So we should delete the copy ctor in the derived class, not default it.
  • Similarly, give TTrackFrame and TKalMatrix a explicitly-defaulted assignment operators, since they have copy constructors.
  • Explicitly mark fallthrough in a switch statement.
  • Avoid warnings about hiding virtual functions from a base class.

BEGINRELEASENOTES

  • Fix a number of warnings seen with recent compilers.
    ENDRELEASENOTES

 - The TEveTrackPropagator base of TRKTrack does not have a public copy ctor.
   So we should delete the copy ctor in the derived class, not default it.
 - Similarly, give TTrackFrame and TKalMatrix a explicitly-defaulted assignment
   operators, since they have copy constructors.
 - Explicitly mark fallthrough in a switch statement.
 - Avoid warnings about hiding virtual functions from a base class.
@scott-snyder

Copy link
Copy Markdown
Author

We're seeing these warnings in downstream CI builds... be nice to get these fixed.

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.

1 participant