-
Notifications
You must be signed in to change notification settings - Fork 25
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
enable modernize-* checks in clang-tidy #372
Conversation
Signed-off-by: Xiangyu Wang <wxy407827@antgroup.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅ @@ Coverage Diff @@
## main #372 +/- ##
==========================================
- Coverage 91.16% 91.14% -0.02%
==========================================
Files 134 134
Lines 8736 8734 -2
==========================================
- Hits 7964 7961 -3
- Misses 772 773 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -31,7 +31,7 @@ | |||
namespace vsag { | |||
|
|||
struct SlowTaskTimer { | |||
explicit SlowTaskTimer(const std::string& name, int64_t log_threshold_ms = 0); | |||
explicit SlowTaskTimer(std::string name, int64_t log_threshold_ms = 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor: why remove const& ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jiaweizone it's changed to std::move() in utils.cpp:L26
No description provided.