autowarefoundation / autoware.universe

https://autowarefoundation.github.io/autoware.universe/
Apache License 2.0
1.03k stars 655 forks source link

fix(autoware_bytetrack): fix constParameter #9389

Closed veqcc closed 1 week ago

veqcc commented 1 week ago

Description

Fixed cppcheck constParameter warnings

perception/autoware_bytetrack/lib/src/lapjv.cpp:112:28: style: Parameter 'cost' can be declared as const array [constParameter]
  const uint_t n, cost_t * cost[], const uint_t n_free_rows, int_t * free_rows, int_t * x,
                           ^
perception/autoware_bytetrack/lib/src/lapjv.cpp:206:28: style: Parameter 'cost' can be declared as const array [constParameter]
  const uint_t n, cost_t * cost[], uint_t * plo, uint_t * phi, cost_t * d, int_t * cols,
                           ^

Related links

Parent Issue:

How was this PR tested?

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

github-actions[bot] commented 1 week ago

Thank you for contributing to the Autoware project!

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

Please ensure: