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 compilation of scene broadcaster test #1599

Merged
merged 1 commit into from
Jul 19, 2022

Conversation

scpeters
Copy link
Member

🦟 Bug fix

Fixes build on macOS with latest version of protobuf

Summary

This test fails to compile with the latest version of protobuf, which is currently available on macOS. Both ign-gazebo6 and ign-gazebo3 fail in the same way.

A protobuf iterator no longer implicitly converts to bool, so compare to the end iterator instead.

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.

This test fails to compile with the latest version
of protobuf, which is currently available on macOS.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@scpeters scpeters requested a review from chapulina as a code owner July 19, 2022 05:30
@codecov
Copy link

codecov bot commented Jul 19, 2022

Codecov Report

Merging #1599 (f6c09f1) into ign-gazebo3 (6d3eac2) will increase coverage by 0.04%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           ign-gazebo3    #1599      +/-   ##
===============================================
+ Coverage        77.72%   77.76%   +0.04%     
===============================================
  Files              250      250              
  Lines            14447    14447              
===============================================
+ Hits             11229    11235       +6     
+ Misses            3218     3212       -6     
Impacted Files Coverage Δ
src/SimulationRunner.cc 94.51% <0.00%> (+1.06%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6d3eac2...f6c09f1. Read the comment docs.

@scpeters scpeters merged commit c565398 into ign-gazebo3 Jul 19, 2022
@scpeters scpeters deleted the scpeters/fix_build_protobuf branch July 19, 2022 08:53
scpeters added a commit that referenced this pull request Jul 19, 2022
This test fails to compile with the latest version
of protobuf, which is currently available on macOS.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@scpeters scpeters mentioned this pull request Jul 19, 2022
8 tasks
scpeters added a commit that referenced this pull request Jul 19, 2022
This test fails to compile with the latest version
of protobuf, which is currently available on macOS.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@scpeters scpeters mentioned this pull request Jul 19, 2022
8 tasks
scpeters added a commit that referenced this pull request Jul 19, 2022
This test fails to compile with the latest version
of protobuf, which is currently available on macOS.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
scpeters added a commit that referenced this pull request Jul 19, 2022
This test fails to compile with the latest version
of protobuf, which is currently available on macOS.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
scpeters added a commit that referenced this pull request Jul 19, 2022
This test fails to compile with the latest version
of protobuf, which is currently available on macOS.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@j-rivero j-rivero mentioned this pull request Sep 16, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants