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. */