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

Provide a Virtual Method Anchor for Classes in Headers #708

Merged
merged 3 commits into from
Aug 31, 2022

Conversation

mjcarroll
Copy link
Contributor

🦟 Bug fix

Based on #702 (comment)

Summary

We have some classes defined in headers that need to have at least one virtual method implemented in a cc file.

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.

@mjcarroll mjcarroll requested a review from iche033 as a code owner August 17, 2022 13:38
@github-actions github-actions bot added the 🌱 garden Ignition Garden label Aug 17, 2022
@mjcarroll mjcarroll changed the title Mjcarroll/anchor virtual Provide a Virtual Method Anchor for Classes in Headers Aug 17, 2022
@mjcarroll mjcarroll force-pushed the mjcarroll/anchor_virtual branch from aa05561 to 6d3bbe1 Compare August 17, 2022 13:47
Copy link
Contributor

@ahcorde ahcorde left a comment

Choose a reason for hiding this comment

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

  /github/workspace/include/gz/rendering/ArrowVisual.hh:35:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
  /github/workspace/include/gz/rendering/BoundingBox.hh:53:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]

@mjcarroll mjcarroll force-pushed the mjcarroll/anchor_virtual branch from 0139270 to 3802725 Compare August 18, 2022 12:39
@codecov
Copy link

codecov bot commented Aug 18, 2022

Codecov Report

Merging #708 (762d78d) into gz-rendering7 (efc05f9) will decrease coverage by 0.04%.
The diff coverage is 25.00%.

@@                Coverage Diff                @@
##           gz-rendering7     #708      +/-   ##
=================================================
- Coverage          74.18%   74.14%   -0.05%     
=================================================
  Files                159      164       +5     
  Lines              14370    14351      -19     
=================================================
- Hits               10661    10641      -20     
- Misses              3709     3710       +1     
Impacted Files Coverage Δ
include/gz/rendering/ArrowVisual.hh 100.00% <ø> (ø)
include/gz/rendering/AxisVisual.hh 0.00% <ø> (ø)
include/gz/rendering/BoundingBoxCamera.hh 100.00% <ø> (ø)
include/gz/rendering/COMVisual.hh 100.00% <ø> (ø)
include/gz/rendering/Camera.hh 100.00% <ø> (ø)
include/gz/rendering/Capsule.hh 100.00% <ø> (ø)
include/gz/rendering/CompositeVisual.hh 100.00% <ø> (ø)
include/gz/rendering/DepthCamera.hh 100.00% <ø> (ø)
include/gz/rendering/Geometry.hh 100.00% <ø> (ø)
include/gz/rendering/GizmoVisual.hh 0.00% <ø> (ø)
... and 78 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@mjcarroll
Copy link
Contributor Author

@osrf-jenkins retest this please

@chapulina chapulina added the bug Something isn't working label Aug 26, 2022
Signed-off-by: Michael Carroll <[email protected]>
@mjcarroll mjcarroll dismissed ahcorde’s stale review August 30, 2022 13:38

address linting

@chapulina chapulina merged commit d3d691e into gz-rendering7 Aug 31, 2022
@chapulina chapulina deleted the mjcarroll/anchor_virtual branch August 31, 2022 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🌱 garden Ignition Garden
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants