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

Plot trajectories #227

Merged
merged 47 commits into from
Oct 26, 2014
Merged

Plot trajectories #227

merged 47 commits into from
Oct 26, 2014

Conversation

eggrobin
Copy link
Member

No description provided.

CHECK_NOTNULL(plugin);
delete *plugin;
*plugin = nullptr;
TakeOwnership(plugin).reset();
Copy link
Member

Choose a reason for hiding this comment

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

Do you need reset()?

Copy link
Member Author

Choose a reason for hiding this comment

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

Now using a block instead, that's safer and more idiomatic.
Also commenting why we want to destroy before the end of the function.

@eggrobin eggrobin reopened this Oct 26, 2014
pleroy added a commit that referenced this pull request Oct 26, 2014
@pleroy pleroy merged commit 6269734 into mockingbirdnest:master Oct 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants