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

fix(autoware_behavior_velocity_intersection_module): fix functionConst #8283

Merged

Conversation

kobayu858
Copy link
Contributor

Description

This is a fix based on cppcheck functionConst warnings.

planning/behavior_velocity_planner/autoware_behavior_velocity_intersection_module/src/object_manager.hpp:251:3: style: inconclusive: Technically the member function 'autoware::behavior_velocity_planner::ObjectInfoManager::getObjectsMap' can be const. [functionConst]
  getObjectsMap()
  ^

Related links

Parent Issue:

  • Link

How was this PR tested?

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
@kobayu858 kobayu858 requested a review from veqcc July 31, 2024 07:30
@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Jul 31, 2024
Copy link

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@kobayu858 kobayu858 added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jul 31, 2024
Copy link

codecov bot commented Jul 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 29.11%. Comparing base (3d849e9) to head (ee4f65e).
Report is 948 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #8283       +/-   ##
===========================================
+ Coverage   15.09%   29.11%   +14.02%     
===========================================
  Files        1967     1606      -361     
  Lines      135941   117743    -18198     
  Branches    42122    50655     +8533     
===========================================
+ Hits        20520    34284    +13764     
+ Misses      92700    74280    -18420     
+ Partials    22721     9179    -13542     
Flag Coverage Δ *Carryforward flag
differential 13.08% <ø> (?)
total 29.19% <ø> (+14.10%) ⬆️ Carriedforward from 5093495

*This pull request uses carry forward flags. Click here to find out more.

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

Copy link
Contributor

@tkimura4 tkimura4 left a comment

Choose a reason for hiding this comment

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

LGTM

@tkimura4 tkimura4 merged commit fd48788 into autowarefoundation:main Aug 5, 2024
39 checks passed
kyoichi-sugahara pushed a commit to kyoichi-sugahara/autoware.universe that referenced this pull request Aug 5, 2024
autowarefoundation#8283)

fix:functionConst

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
@kobayu858 kobayu858 deleted the fix/cppcheck_functionConst_pla-3 branch August 13, 2024 06:19
esteve pushed a commit to esteve/autoware.universe that referenced this pull request Aug 13, 2024
autowarefoundation#8283)

fix:functionConst

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:planning Route planning, decision-making, and navigation. (auto-assigned) tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants