summaryrefslogtreecommitdiff
path: root/src/mem/ruby/network
diff options
context:
space:
mode:
authorAndrea Mondelli <Andrea.Mondelli@ucf.edu>2019-03-19 13:12:58 -0400
committerAndrea Mondelli <Andrea.Mondelli@ucf.edu>2019-03-23 00:05:33 +0000
commit4effe34f94b599add133357473e1b120b54719ab (patch)
tree6efc0c7ab1636384d31ff9d8a79b55179fe39050 /src/mem/ruby/network
parent759795a6b9e6e75c1e671457ef91b6329a692b18 (diff)
downloadgem5-4effe34f94b599add133357473e1b120b54719ab.tar.xz
misc: missing override specifier
Missing specifier of overridden virtual function declared in sim_object.hh Removed redundant "virtual" keyword Change-Id: I42aa3349b537c9e62607bce20cf1b3aabdb99bf2 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17468 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/mem/ruby/network')
-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; }