-
Notifications
You must be signed in to change notification settings - Fork 665
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
fix(route_handler): fix std::accumlation related bug #6983
fix(route_handler): fix std::accumlation related bug #6983
Conversation
Signed-off-by: Ryuta Kambe <[email protected]>
Is this all the true positive warnings from clang-tidy? I'd appreciate if you get rid of all the warning in a single PR. Thanks! |
@soblin
No. There are tremendous (true psitive) warnings from clang-tidy 🥹 As for |
OK, then can you purge as many errors only in route_handler as possible? If this is all, then I will merge this ASAP |
@soblin
|
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.
It looks like [useStlAlgorithm] should be disabled for checking.
Description
This is a fix based on clang-tidy warning
The accumulation is conducted as
int
, not asdouble
, in the previous implementation.Tests performed
No
Effects on system behavior
Interface changes
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.