Skip to content

fix: Add missing <functional> header for readerset.h#398

Merged
wxyucs merged 1 commit into
antgroup:mainfrom
Coien-rr:readerset
Feb 14, 2025
Merged

fix: Add missing <functional> header for readerset.h#398
wxyucs merged 1 commit into
antgroup:mainfrom
Coien-rr:readerset

Conversation

@Coien-rr

Copy link
Copy Markdown
Contributor

This PR resolves the issue of missing <functional> header, which is required for using std::function
in the definition of the CallBack type alias.
Although <functional> is included in all scenarios where CallBack is currently referenced, so it doesn't lead to compilation errors. However, for the sake of code robustness and portability, I think that the <functional> header file should be added to the definition header file itself of readerset.h.

Signed-off-by: Coien-rr <972054003@qq.com>
@codecov

codecov Bot commented Feb 14, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

@@            Coverage Diff             @@
##             main     #398      +/-   ##
==========================================
+ Coverage   91.24%   91.25%   +0.01%     
==========================================
  Files         140      140              
  Lines        8980     8980              
==========================================
+ Hits         8194     8195       +1     
+ Misses        786      785       -1     
Flag Coverage Δ
cpp 91.25% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
common 95.54% <ø> (ø)
datacell 92.50% <ø> (+0.07%) ⬆️
index 91.44% <ø> (ø)
simd 81.72% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 54ee54f...3f0cec4. Read the comment docs.

@LHT129 LHT129 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@wxyucs wxyucs added the kind/bug Bug fixes, defects, or unexpected behavior 修复程序错误、缺陷或异常行为 label Feb 14, 2025

@inabao inabao left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@wxyucs wxyucs left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@wxyucs wxyucs self-assigned this Feb 14, 2025
@wxyucs
wxyucs merged commit 63d7a01 into antgroup:main Feb 14, 2025
@Coien-rr
Coien-rr deleted the readerset branch February 14, 2025 09:03
jiacai2050 pushed a commit to jiacai2050/vsag that referenced this pull request Mar 6, 2025
LHT129 pushed a commit to LHT129/vsag that referenced this pull request Apr 16, 2026
Signed-off-by: Coien-rr <972054003@qq.com>
LHT129 pushed a commit that referenced this pull request May 11, 2026
Signed-off-by: Coien-rr <972054003@qq.com>
Signed-off-by: LHT129 <tianlan.lht@antgroup.com>
Sia-Sheerland pushed a commit to Sia-Sheerland/vsag that referenced this pull request Jun 26, 2026
Signed-off-by: Coien-rr <972054003@qq.com>
Signed-off-by: Sia Sheerland <x1075956441x@163.com>

Signed-off-by: Sia Sheerland <x1075956441x@163.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Bug fixes, defects, or unexpected behavior 修复程序错误、缺陷或异常行为 size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants