Skip to content

build(autoware_trajectory): add missing include#853

Merged
sasakisasaki merged 2 commits intoautowarefoundation:mainfrom
wentasah:trajectory-fix-include
Mar 3, 2026
Merged

build(autoware_trajectory): add missing include#853
sasakisasaki merged 2 commits intoautowarefoundation:mainfrom
wentasah:trajectory-fix-include

Conversation

@wentasah
Copy link
Contributor

Description

std::clamp() added in #791 needs #include <algorithm>. Without it, GCC 14 complains with error: 'clamp' is not a member of 'std'.

Related links

Parent Issue:

  • Link

How was this PR tested?

Compile-tested only.

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

std::clamp() added in autowarefoundation#791 needs to include <algorithm>. Without it,
GCC 14 complains with "error: 'clamp' is not a member of 'std'".

Signed-off-by: Michal Sojka <michal.sojka@cvut.cz>
@github-actions
Copy link

github-actions bot commented Feb 20, 2026

Thank you for contributing to the Autoware project!

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

Please ensure:

@soblin soblin added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Feb 25, 2026
@soblin soblin changed the title fix(autoware_trajectory): add missing include build(autoware_trajectory): add missing include Feb 25, 2026
Copy link
Contributor

@sasakisasaki sasakisasaki left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution! Reviewed, and I agree with merging this PR 👍

I believe this CI build will pass.

@sasakisasaki sasakisasaki enabled auto-merge (squash) March 3, 2026 11:47
@codecov
Copy link

codecov bot commented Mar 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.53%. Comparing base (f20e40b) to head (7a45144).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #853      +/-   ##
==========================================
+ Coverage   50.47%   50.53%   +0.05%     
==========================================
  Files         364      348      -16     
  Lines       22869    22427     -442     
  Branches    10170     9958     -212     
==========================================
- Hits        11544    11333     -211     
+ Misses      10215    10011     -204     
+ Partials     1110     1083      -27     
Flag Coverage Δ *Carryforward flag
daily-humble 50.65% <ø> (-0.09%) ⬇️ Carriedforward from 726e562
daily-jazzy 50.09% <ø> (-0.12%) ⬇️ Carriedforward from 726e562
differential-humble 32.22% <ø> (?)
differential-jazzy 32.03% <ø> (?)
total 50.38% <ø> (ø) Carriedforward from 726e562
total-humble 50.62% <ø> (-0.11%) ⬇️ Carriedforward from 726e562
total-jazzy 50.09% <ø> (-0.13%) ⬇️ Carriedforward from 726e562

*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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sasakisasaki sasakisasaki merged commit 8c26ae6 into autowarefoundation:main Mar 3, 2026
37 of 43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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