autowarefoundation / autoware.universe

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

fix(autoware_mission_planner): fix clang-diagnostic-error #9432

Closed veqcc closed 3 days ago

veqcc commented 4 days ago

Description

Fixed clang-tidy error

planning/autoware_mission_planner/src/mission_planner/service_utils.hpp:57:6: error: no template named 'function' in namespace 'std' [clang-diagnostic-error]
std::function<void(Req, Res)> handle_exception(void (T::*callback)(Req, Res), T * instance)
~~~~~^

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 4 days ago

Thank you for contributing to the Autoware project!

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

Please ensure:

codecov[bot] commented 4 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 29.03%. Comparing base (9769a9e) to head (69e56e3). Report is 14 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #9432 +/- ## ========================================== - Coverage 29.08% 29.03% -0.05% ========================================== Files 1438 1446 +8 Lines 108433 108502 +69 Branches 41511 41514 +3 ========================================== - Hits 31535 31508 -27 - Misses 73845 73954 +109 + Partials 3053 3040 -13 ``` | [Flag](https://app.codecov.io/gh/autowarefoundation/autoware.universe/pull/9432/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=autowarefoundation) | Coverage Δ | | *Carryforward flag | |---|---|---|---| | [differential](https://app.codecov.io/gh/autowarefoundation/autoware.universe/pull/9432/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=autowarefoundation) | `9.75% <ø> (?)` | | | | [total](https://app.codecov.io/gh/autowarefoundation/autoware.universe/pull/9432/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=autowarefoundation) | `29.05% <ø> (-0.03%)` | :arrow_down: | Carriedforward from [685f1aa](https://app.codecov.io/gh/autowarefoundation/autoware.universe/commit/685f1aa46bf791fdb3966d0793c2b6fd5c15344d?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=autowarefoundation) | *This pull request uses carry forward flags. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=autowarefoundation) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.