diff options
Diffstat (limited to 'src/systemc')
-rw-r--r-- | src/systemc/core/port.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemc/core/port.hh b/src/systemc/core/port.hh index 8c09ad0d3..f7b1bbce4 100644 --- a/src/systemc/core/port.hh +++ b/src/systemc/core/port.hh @@ -147,6 +147,8 @@ class Port allPorts.push_front(this); } + ~Port() { allPorts.remove(this); } + void bind(::sc_core::sc_interface *interface) { |