misc: Add explicit overrides and fix other clang >= 3.5 issues
[gem5.git] / src / dev / etherlink.hh
index 0012d0003faf68de7f148b6154a2e6803e15f5a3..9d2a5fdf227e03f057a459c5b51edbfaf309113d 100644 (file)
@@ -156,7 +156,7 @@ class EtherLink : public EtherObject
         return dynamic_cast<const Params *>(_params);
     }
 
-    virtual EtherInt *getEthPort(const std::string &if_name, int idx);
+    EtherInt *getEthPort(const std::string &if_name, int idx) override;
 
     void serialize(CheckpointOut &cp) const override;
     void unserialize(CheckpointIn &cp) override;