summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2016-12-19 16:25:40 +0000
committerAndreas Sandberg <andreas.sandberg@arm.com>2016-12-19 16:25:40 +0000
commitbbd3703fbb3a1f9034143de471eca66a6a497fbb (patch)
tree93996e7fe837d3ae48c709367a430af9392e486e
parent8702208f3f0309cd1f88aa12b85b4ea31e6ee85c (diff)
downloadgem5-bbd3703fbb3a1f9034143de471eca66a6a497fbb.tar.xz
mem: Make the BaseXBar public to not confuse Python wrappers
The Python wrappers generally assume that destructors are public. Make the BaseXBar destructor public to avoid confusing the Python wrapper. Change-Id: If958802409c0be74e875dd6e279742abfdb3ede1 Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
-rw-r--r--src/mem/xbar.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/xbar.hh b/src/mem/xbar.hh
index a92eb044e..c9949e364 100644
--- a/src/mem/xbar.hh
+++ b/src/mem/xbar.hh
@@ -439,8 +439,6 @@ class BaseXBar : public MemObject
BaseXBar(const BaseXBarParams *p);
- virtual ~BaseXBar();
-
/**
* Stats for transaction distribution and data passing through the
* crossbar. The transaction distribution is globally counting
@@ -456,6 +454,8 @@ class BaseXBar : public MemObject
public:
+ virtual ~BaseXBar();
+
virtual void init();
/** A function used to return the port associated with this object. */