Merge pull request #14 from YosysHQ/fix-destructor
Fix destructor for tree Item, fixes clang build as well
This commit is contained in:
commit
fc882d73d6
@ -102,7 +102,7 @@ class Item
|
||||
virtual bool canFetchMore() const { return false; }
|
||||
virtual void fetchMore() {}
|
||||
|
||||
~Item()
|
||||
virtual ~Item()
|
||||
{
|
||||
if (parent_ != nullptr) {
|
||||
parent_->deleteChild(this);
|
||||
|
Loading…
Reference in New Issue
Block a user