Skip to content

Define AIDA_HAS_CAST to avoid warning in Gaudi.#11

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

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
Copy Markdown

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.
@jmcarcell
Copy link
Copy Markdown
Contributor

Where does Gaudi use this? I can't find it anywhere.

@scott-snyder
Copy link
Copy Markdown
Author

Apologies; that was relevant to a change in Gaudi which i forgot did not get pushed. I close this for now.

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