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

Move some common virtual methods in EbmlElement #205

Merged
merged 3 commits into from
Jan 7, 2024

Conversation

robUx4
Copy link
Contributor

@robUx4 robUx4 commented Jan 1, 2024

We can use ClassInfo directly now. We can also remove the virtual of some methods.

We store the EbmlCallbacks in EbmlElement since 8494914.
We can access its fields directly.

The methods are still virtual because of EbmlDummy.
No class overriding these, nor should need to.
@robUx4 robUx4 added api-break breaks the API (e.g. programs using it will have to adjust their source code) abi-break breaks the ABI (e.g. programs linked against the library have to be recompiled) labels Jan 1, 2024
@robUx4 robUx4 requested a review from mbunkus January 7, 2024 06:10
@mbunkus mbunkus merged commit f4d7104 into Matroska-Org:master Jan 7, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
abi-break breaks the ABI (e.g. programs linked against the library have to be recompiled) api-break breaks the API (e.g. programs using it will have to adjust their source code)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants