aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rtlil.h
diff options
context:
space:
mode:
authorBenedikt Tutzer <e1225461@student.tuwien.ac.at>2018-07-10 08:52:36 +0200
committerBenedikt Tutzer <e1225461@student.tuwien.ac.at>2018-07-10 08:52:36 +0200
commite7d3f3cd464fe323872285bed40e6f347683147b (patch)
tree04c4e11c0336afa2bc8f9dac2ba15f908380cc5d /kernel/rtlil.h
parent55df7fff19cfaa42197effc31ac8de07f9090924 (diff)
downloadyosys-e7d3f3cd464fe323872285bed40e6f347683147b.tar.gz
yosys-e7d3f3cd464fe323872285bed40e6f347683147b.tar.bz2
yosys-e7d3f3cd464fe323872285bed40e6f347683147b.zip
added destructors for wires and cells
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r--kernel/rtlil.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h
index 232a8c13a..e71a5fceb 100644
--- a/kernel/rtlil.h
+++ b/kernel/rtlil.h
@@ -1149,7 +1149,7 @@ protected:
// use module->addWire() and module->remove() to create or destroy wires
friend struct RTLIL::Module;
Wire();
- ~Wire() { };
+ ~Wire();
public:
// do not simply copy wires
@@ -1186,6 +1186,7 @@ protected:
// use module->addCell() and module->remove() to create or destroy cells
friend struct RTLIL::Module;
Cell();
+ ~Cell();
public:
// do not simply copy cells