From 0d50979888c1653e9ceb856c6bffa3f5062adeb9 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Mon, 15 Feb 2016 03:40:32 -0500 Subject: misc: Add missing overrides to appease clang Since the last round of fixes a few new issues have snuck in. We should consider switching the regression runs to clang. --- src/dev/net/etherswitch.hh | 2 +- src/dev/x86/pc.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dev') diff --git a/src/dev/net/etherswitch.hh b/src/dev/net/etherswitch.hh index 69a3f40fd..760371777 100644 --- a/src/dev/net/etherswitch.hh +++ b/src/dev/net/etherswitch.hh @@ -60,7 +60,7 @@ class EtherSwitch : public EtherObject return dynamic_cast(_params); } - EtherInt *getEthPort(const std::string &if_name, int idx); + EtherInt *getEthPort(const std::string &if_name, int idx) override; protected: /** diff --git a/src/dev/x86/pc.hh b/src/dev/x86/pc.hh index 6cc57cb5d..fc209a67d 100644 --- a/src/dev/x86/pc.hh +++ b/src/dev/x86/pc.hh @@ -57,7 +57,7 @@ class Pc : public Platform /** * Do platform initialization stuff */ - void init(); + void init() override; Pc(const Params *p); -- cgit v1.2.3