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

Updating the constraint namespace to C++11 #584

Merged
merged 1 commit into from
Jan 13, 2016

Conversation

mxgrey
Copy link
Member

@mxgrey mxgrey commented Jan 12, 2016

This change is motivated by issue #583 where it was found that the ConstraintSolver class is leaking memory. Frequent deletion and creation of World objects can dramatically exacerbate the issue. By updating to use C++11 smart pointers, we should be able to eliminate these leaks.

@costashatz
Copy link
Contributor

This seems to solve #583. At least in my case. Merge when ci is good.

{
// std::cout << "CommunityTEST::_containConstraint(): Not implemented."
// << std::endl;

// TODO(MXG): Is there any reason these functions are not implemented yet?
Copy link
Member

Choose a reason for hiding this comment

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

No reason. It seems I just forgot to implement. I'll implement them in a separate pull request soon.

@jslee02
Copy link
Member

jslee02 commented Jan 13, 2016

👍

@jslee02 jslee02 added this to the DART 6.0.0 milestone Jan 13, 2016
jslee02 added a commit that referenced this pull request Jan 13, 2016
Updating the constraint namespace to C++11
@jslee02 jslee02 merged commit d042759 into master Jan 13, 2016
@mxgrey mxgrey deleted the grey/fix_constraint_leaks branch February 1, 2016 04:27
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