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

Fixes deleter passed to the std::shared_ptr<void> #1009

Merged
merged 1 commit into from
Jun 13, 2024
Merged

Conversation

mjcarroll
Copy link
Contributor

@mjcarroll mjcarroll commented Jun 13, 2024

Bug fix

Summary

Fixes deleter passed to the std::shared_ptr: the c++ standard says that
the the wrapped tye should be implicitely convertible to the type accepted by
the provided deleter. This is not the case for void* to float*.

@mjcarroll mjcarroll requested a review from iche033 as a code owner June 13, 2024 17:20
@mjcarroll mjcarroll self-assigned this Jun 13, 2024
@github-actions github-actions bot added the 🎵 harmonic Gazebo Harmonic label Jun 13, 2024
@iche033 iche033 merged commit 649f7f0 into gz-rendering8 Jun 13, 2024
8 of 9 checks passed
@iche033 iche033 deleted the fix_deleter branch June 13, 2024 23:30
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.

2 participants