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

HTList: keep minimal class #3281

Closed
wants to merge 3 commits into from
Closed

HTList: keep minimal class #3281

wants to merge 3 commits into from

Conversation

alkino
Copy link
Member

@alkino alkino commented Dec 10, 2024

No description provided.

@alkino alkino marked this pull request as ready for review December 10, 2024 14:31
Copy link

codecov bot commented Dec 10, 2024

Codecov Report

Attention: Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 67.07%. Comparing base (bf6a457) to head (38c488a).

Files with missing lines Patch % Lines
src/ivoc/htlist.cpp 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3281      +/-   ##
==========================================
+ Coverage   67.06%   67.07%   +0.01%     
==========================================
  Files         572      572              
  Lines      111115   111085      -30     
==========================================
- Hits        74520    74514       -6     
+ Misses      36595    36571      -24     

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

Copy link

✔️ 90ca008 -> Azure artifacts URL

@bbpbuildbot

This comment has been minimized.

@alkino alkino enabled auto-merge (squash) December 10, 2024 15:55
@bbpbuildbot

This comment has been minimized.

Copy link

✔️ 1ed88ab -> Azure artifacts URL

@alkino alkino requested a review from 1uc December 11, 2024 10:13
@@ -66,21 +55,9 @@ inline bool HTList::IsEmpty() {
inline HTList* HTList::First() {
return _next;
}
inline HTList* HTList::Last() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

if there's a first there should be a last. it might not exist out of lazyness, but removing it feels excessive.

Copy link
Member Author

Choose a reason for hiding this comment

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

the purpose of this patch was to reduce this class as most as possible, as no one will use it anymore (I hope). So when trying to replace by something else this become easier.

inline HTList* HTList::End() {
return this;
}
inline HTList* HTList::Next() {
return _next;
}
inline HTList* HTList::Prev() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

same for the pair next prev.

Copy link

✔️ 38c488a -> Azure artifacts URL

@alkino alkino closed this Dec 14, 2024
auto-merge was automatically disabled December 14, 2024 12:39

Pull request was closed

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.

3 participants