diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sim/port.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sim/port.hh b/src/sim/port.hh index 2acdb7a78..9f3268890 100644 --- a/src/sim/port.hh +++ b/src/sim/port.hh @@ -92,13 +92,13 @@ class Port */ Port(const std::string& _name, PortID _id); + public: + /** * Virtual destructor due to inheritance. */ virtual ~Port(); - public: - /** Return a reference to this port's peer. */ Port &getPeer() { return *_peer; } |