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

Added virtual destructors to joint properties. #391

Merged
merged 1 commit into from
May 24, 2015
Merged

Added virtual destructors to joint properties. #391

merged 1 commit into from
May 24, 2015

Conversation

mkoval
Copy link
Collaborator

@mkoval mkoval commented May 23, 2015

This pull request adds default virtual constructors to all joint Properties classes. These classes are polymorphic, so this is generally a good idea from a safety perspective. This is also necessary for RTTI to work on these classes (which we need to create Python bindings).

@mxgrey
Copy link
Member

mxgrey commented May 24, 2015

I've always wished C++ destructors were virtual by default.

mxgrey added a commit that referenced this pull request May 24, 2015
…irtualDestructors

Added virtual destructors to joint properties.
@mxgrey mxgrey merged commit 15e71d6 into dartsim:memory_management May 24, 2015
@mkoval mkoval deleted the bugfix/JointPropertiesVirtualDestructors branch May 24, 2015 15:27
@jslee02 jslee02 added this to the Release DART 5.0 milestone May 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants