summaryrefslogtreecommitdiff
path: root/mem/port.hh
diff options
context:
space:
mode:
Diffstat (limited to 'mem/port.hh')
-rw-r--r--mem/port.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mem/port.hh b/mem/port.hh
index 88cca885b..9d0bd7968 100644
--- a/mem/port.hh
+++ b/mem/port.hh
@@ -96,7 +96,7 @@ class Port
/** Function to set the pointer for the peer port.
@todo should be called by the configuration stuff (python).
*/
- Port *getPeer(Port *port) { return peer; }
+ Port *getPeer() { return peer; }
protected: