Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Remove raw pointer in ExtensiveDataNode #20

Open
MateuszKubuszok opened this issue Apr 16, 2014 · 0 comments
Open

Remove raw pointer in ExtensiveDataNode #20

MateuszKubuszok opened this issue Apr 16, 2014 · 0 comments
Assignees

Comments

@MateuszKubuszok
Copy link
Owner

In ExtensiveDataNode replace ExtensiveDataNode* parent with unique_ptr<ExtensiveDataNode, void (ExtensiveDataNode::*)(ExtensiveDataNode*)>
and prepare special deleter that will call delete only if parent->isNull().

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant