Skip to content

Add missing virtual destructors#553

Merged
wjwwood merged 4 commits intoros2from
ivanpauno/add-missing-virtual-dtor
Jun 2, 2020
Merged

Add missing virtual destructors#553
wjwwood merged 4 commits intoros2from
ivanpauno/add-missing-virtual-dtor

Conversation

@ivanpauno
Copy link
Copy Markdown
Member

Same idea as ros2/rclcpp#1149.

There's an "overloaded virtual" warning that I'm ignoring in order to avoid breaking API now.
We should fix that in the future.

ivanpauno added 2 commits June 1, 2020 16:50
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
@ivanpauno ivanpauno added bug Something isn't working in review Waiting for review (Kanban column) labels Jun 1, 2020
@ivanpauno ivanpauno requested review from hidmic and wjwwood June 1, 2020 19:56
@ivanpauno ivanpauno self-assigned this Jun 1, 2020
@ivanpauno
Copy link
Copy Markdown
Member Author

Jobs config:

  • build: --packages-up-to rviz2 rviz_default_plugins rviz_rendering rviz_rendering_tests rviz_visual_testing_framework
  • test: --packages-select rviz2 rviz_default_plugins rviz_rendering rviz_rendering_tests rviz_visual_testing_framework

Jobs:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

ivanpauno added 2 commits June 1, 2020 18:36
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
@ivanpauno
Copy link
Copy Markdown
Member Author

Retriggering linux job to confirm linters are happy:

  • Linux Build Status

@ivanpauno
Copy link
Copy Markdown
Member Author

Linter failures were fixed and retested on Linux, besides that all the jobs were greenish.
@jacobperron @wjwwood is this gtg?

@wjwwood
Copy link
Copy Markdown
Member

wjwwood commented Jun 2, 2020

I guess so, needs a second review. I just made a release of rviz, but I can roll another.

@wjwwood
Copy link
Copy Markdown
Member

wjwwood commented Jun 2, 2020

I believe this one also does not break API (adding the virtual destructor could be seen as that, but it's a corner case because no one who was calling it before would now have an issue, but I'm open to being convinced otherwise on that one).

@ivanpauno
Copy link
Copy Markdown
Member Author

I don't think it breaks API, but it breaks ABI. So, it can't be backported in the future.

@wjwwood
Copy link
Copy Markdown
Member

wjwwood commented Jun 2, 2020

Yeah, sorry I wasn't suggesting we push it for the patch release, I just was sort of commenting on how the version number would change (also low risk for (re)testing).

Copy link
Copy Markdown
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

LGTM

I'm okay with adding this to the initial Foxy release.

@wjwwood wjwwood merged commit 6f8d01d into ros2 Jun 2, 2020
@delete-merged-branch delete-merged-branch bot deleted the ivanpauno/add-missing-virtual-dtor branch June 2, 2020 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working in review Waiting for review (Kanban column)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants