summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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. */