diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-08-02 13:20:05 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-08-02 13:20:05 +0200 |
commit | ebdfd6ba5edf89eb3365ddb6eb3e62e8a745c719 (patch) | |
tree | aa87f0b6ed56989498fb4facfdf32f1b3d95de87 | |
parent | 81ee55c7eb2f153ba01a6ff8aba2bffc54daa9dc (diff) | |
download | nextpnr-ebdfd6ba5edf89eb3365ddb6eb3e62e8a745c719.tar.gz nextpnr-ebdfd6ba5edf89eb3365ddb6eb3e62e8a745c719.tar.bz2 nextpnr-ebdfd6ba5edf89eb3365ddb6eb3e62e8a745c719.zip |
Fix destructor for tree Item, fixes clang build as well
-rw-r--r-- | gui/treemodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/treemodel.h b/gui/treemodel.h index c3f9fe88..0236a715 100644 --- a/gui/treemodel.h +++ b/gui/treemodel.h @@ -102,7 +102,7 @@ class Item virtual bool canFetchMore() const { return false; } virtual void fetchMore() {} - ~Item() + virtual ~Item() { if (parent_ != nullptr) { parent_->deleteChild(this); |