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

Address Clang warnings #595

Merged
merged 5 commits into from
Jan 7, 2025
Merged

Address Clang warnings #595

merged 5 commits into from
Jan 7, 2025

Conversation

elshize
Copy link
Member

@elshize elshize commented Dec 14, 2024

Fixes related to Clang warnings. See individual commit messages for more details for each.

Signed-off-by: Michal Siedlaczek <michal@siedlaczek.me>
Signed-off-by: Michal Siedlaczek <michal@siedlaczek.me>
Signed-off-by: Michal Siedlaczek <michal@siedlaczek.me>
We construct codecs as a shared pointer to `BlockCodec` and without a
virtual destructor, only the destructor of the base class is called.
This has not caused any real issues because the codecs do not do any
memory management, but this is now for correctness and future-proofing.

Signed-off-by: Michal Siedlaczek <michal@siedlaczek.me>
Copy link

codecov bot commented Dec 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.84%. Comparing base (0367525) to head (3576fa6).
Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #595   +/-   ##
=======================================
  Coverage   93.84%   93.84%           
=======================================
  Files          81       81           
  Lines        3897     3897           
=======================================
  Hits         3657     3657           
  Misses        240      240           

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

Signed-off-by: Michal Siedlaczek <michal@siedlaczek.me>
@elshize elshize requested a review from JMMackenzie December 14, 2024 23:06
@elshize elshize self-assigned this Dec 14, 2024
@elshize elshize mentioned this pull request Dec 18, 2024
Copy link
Member

@JMMackenzie JMMackenzie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry this took so long 🎄

@elshize elshize merged commit 55b3c3c into main Jan 7, 2025
9 checks passed
@elshize elshize deleted the typename-span branch January 7, 2025 14:09
@elshize
Copy link
Member Author

elshize commented Jan 7, 2025

Thanks @JMMackenzie no worries, I figured you're busy over the holidays, as was I ;)

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