Skip to content
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

Prefer using a virtual to ifs and dynamic casts #1684

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

aleixpol
Copy link
Contributor

No description provided.

@Vogtinator
Copy link
Contributor

Missing override decls?

@aleixpol
Copy link
Contributor Author

Missing override decls?

I didn't add it because then I had to add it to the other methods in the class which also are overrides. I'd suggest adding a mandatory override warning on a separate MR and add them all at once.

@Vogtinator
Copy link
Contributor

Ok

@Vogtinator
Copy link
Contributor

IIRC one of the "fix warnings" PRs adds override to most (or all) declarations.

@herostrat
Copy link
Contributor

You're right, this would be #1664

@Vogtinator Vogtinator force-pushed the work/apol/prefer-virtual branch 2 times, most recently from 911d2a4 to db2db70 Compare March 22, 2023 09:04
@Vogtinator
Copy link
Contributor

#1664 is merged, can you add override here 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.

None yet

3 participants