summaryrefslogtreecommitdiff
path: root/src/mem/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/ruby')
-rw-r--r--src/mem/ruby/network/MessageBuffer.hh2
-rw-r--r--src/mem/ruby/network/Network.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/ruby/network/MessageBuffer.hh b/src/mem/ruby/network/MessageBuffer.hh
index 4e85ac413..05821d5ac 100644
--- a/src/mem/ruby/network/MessageBuffer.hh
+++ b/src/mem/ruby/network/MessageBuffer.hh
@@ -128,7 +128,7 @@ class MessageBuffer : public SimObject
return RubyDummyPort::instance();
}
- void regStats();
+ void regStats() override;
// Function for figuring out if any of the messages in the buffer need
// to be updated with the data from the packet.
diff --git a/src/mem/ruby/network/Network.hh b/src/mem/ruby/network/Network.hh
index 4e9791824..0830187c8 100644
--- a/src/mem/ruby/network/Network.hh
+++ b/src/mem/ruby/network/Network.hh
@@ -82,7 +82,7 @@ class Network : public ClockedObject
{ return dynamic_cast<const Params *>(_params); }
virtual ~Network();
- virtual void init();
+ void init() override;
static uint32_t getNumberOfVirtualNetworks() { return m_virtual_networks; }
int getNumNodes() const { return m_nodes; }