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

Make ~Object protected. #1009

Merged
merged 1 commit into from
May 23, 2024
Merged

Make ~Object protected. #1009

merged 1 commit into from
May 23, 2024

Conversation

1uc
Copy link
Collaborator

@1uc 1uc commented May 23, 2024

Since deleting HighFive objects through their common base class Object is not supported, we should make the dtor protected.

See Core Guidelines C35, e.g.
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rc-dtor-virtual

Since deleting HighFive objects through their common base class
`Object` is not supported, we should make the dtor protected.

See Core Guidelines C35, e.g.
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rc-dtor-virtual
Copy link

codecov bot commented May 23, 2024

Codecov Report

Attention: Patch coverage is 88.88889% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 86.81%. Comparing base (adf6b05) to head (b5c7059).

Files Patch % Lines
include/highfive/bits/h5o_wrapper.hpp 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1009      +/-   ##
==========================================
- Coverage   86.82%   86.81%   -0.01%     
==========================================
  Files         100      100              
  Lines        6080     6083       +3     
==========================================
+ Hits         5279     5281       +2     
- Misses        801      802       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@1uc 1uc marked this pull request as ready for review May 23, 2024 07:02
@1uc
Copy link
Collaborator Author

1uc commented May 23, 2024

Closes #1008.

@1uc 1uc merged commit ce46f86 into master May 23, 2024
36 checks passed
@1uc 1uc deleted the 1uc/protected-dtor branch May 23, 2024 07:09
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