mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-12 00:53:26 +00:00
added destructors for wires and cells
This commit is contained in:
parent
55df7fff19
commit
e7d3f3cd46
2 changed files with 16 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue