Skip to content

Add include <chrono> for system_clock#655

Merged
iche033 merged 2 commits intogazebosim:gz-common5from
WangWeiLin-MV:events/add-include-chrono
Dec 17, 2024
Merged

Add include <chrono> for system_clock#655
iche033 merged 2 commits intogazebosim:gz-common5from
WangWeiLin-MV:events/add-include-chrono

Conversation

@WangWeiLin-MV
Copy link
Copy Markdown
Contributor

🦟 Bug fix

No bug number.

Summary

An issue revealed in microsoft/STL#5105, that can be fixed by including <chrono>.

include\gz\common5\gz/common/Event.hh(89): error C2039: 'system_clock': is not a member of 'std::chrono'

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸

Signed-off-by: WangWeiLin-MV <156736127+WangWeiLin-MV@users.noreply.github.com>
@ahcorde
Copy link
Copy Markdown
Contributor

ahcorde commented Dec 12, 2024

The PR is still a draft, do you more changes to include ? otherwise you can change the status to "Ready fo review".

change looks good to me

@WangWeiLin-MV WangWeiLin-MV marked this pull request as ready for review December 12, 2024 09:09
@ahcorde ahcorde enabled auto-merge (squash) December 13, 2024 21:42
@iche033
Copy link
Copy Markdown
Contributor

iche033 commented Dec 14, 2024

@osrf-jenkins run tests please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🎵 harmonic Gazebo Harmonic

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants