Skip to content

Use std::unique_ptr for InteractionForce ownership - #477

Open
stanbot8 wants to merge 1 commit into
BioDynaMo:masterfrom
stanbot8:fix/own-interaction-force
Open

Use std::unique_ptr for InteractionForce ownership#477
stanbot8 wants to merge 1 commit into
BioDynaMo:masterfrom
stanbot8:fix/own-interaction-force

Conversation

@stanbot8

Copy link
Copy Markdown
Contributor

MechanicalForcesOp copied, replaced, and deleted its InteractionForce through a manually owned raw pointer. Retain the force in std::unique_ptr<InteractionForce>.

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.

1 participant