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

Fix File to mark overridden functions as 'override' #772

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

Conversation

ssilverman
Copy link
Contributor

@ssilverman ssilverman commented Nov 29, 2024

Enables a File object to be used via a pointer or reference to Stream
and Print, and use the proper overridden functions. Without 'virtual'
or 'override', the default Stream and Print functions will be
used instead.

@ssilverman ssilverman force-pushed the fix-fs-mark-functions-override branch 2 times, most recently from 6040e45 to a7bff4f Compare November 29, 2024 22:36
Enables a File object to be used via a pointer or reference to Stream
and Print, and use the proper overridden functions. Without 'virtual'
or 'override', the default Stream and Print functions will be
used instead.
@ssilverman
Copy link
Contributor Author

ssilverman commented Nov 29, 2024

Note to reviewer: I can use 'virtual' instead, if you like, but the following PR will change all overridden methods to use 'override' instead of 'virtual': #771.

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