Skip to content

Comments

Define AIDA_HAS_CAST to avoid warning in Gaudi.#11

Open
scott-snyder wants to merge 1 commit intoiLCSoft:masterfrom
scott-snyder:override-20260218
Open

Define AIDA_HAS_CAST to avoid warning in Gaudi.#11
scott-snyder wants to merge 1 commit intoiLCSoft:masterfrom
scott-snyder:override-20260218

Conversation

@scott-snyder
Copy link

We declare IBaseHistogram::cast as a virtual method, and Gaudi overrides it in a derived class. Defining AIDA_HAS_CAST tells Gaudi to use the override keyword for that method, as it does for other methods, to avoid warnings about inconsistent use of override.

We declare IBaseHistogram::cast as a virtual method, and Gaudi overrides
it in a derived class.  Defining AIDA_HAS_CAST tells Gaudi to use
the override keyword for that method, as it does for other methods,
to avoid warnings about inconsistent use of override.
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