diff options
Diffstat (limited to 'src/mem/xbar.cc')
-rw-r--r-- | src/mem/xbar.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/xbar.cc b/src/mem/xbar.cc index 035461944..b7826fd25 100644 --- a/src/mem/xbar.cc +++ b/src/mem/xbar.cc @@ -147,7 +147,7 @@ template <typename SrcType, typename DstType> BaseXBar::Layer<SrcType,DstType>::Layer(DstType& _port, BaseXBar& _xbar, const std::string& _name) : port(_port), xbar(_xbar), _name(_name), state(IDLE), - waitingForPeer(NULL), releaseEvent(this) + waitingForPeer(NULL), releaseEvent([this]{ releaseLayer(); }, name()) { } |