arm: Add missing explicit overrides for classic caches
authorAndreas Sandberg <andreas.sandberg@arm.com>
Sun, 15 Nov 2015 21:28:00 +0000 (21:28 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Sun, 15 Nov 2015 21:28:00 +0000 (21:28 +0000)
Make clang when compiling on OSX.

src/mem/cache/cache.hh

index eb40ddb1814f162ac64a456eb9d81140bcc1d9d7..5ea72831be0b26d9921179ce59461a59860bb69c 100644 (file)
@@ -304,7 +304,7 @@ class Cache : public BaseCache
      * @param cmd Command of the incoming requesting packet
      * @return Whether we should allocate on the fill
      */
-    inline bool allocOnFill(MemCmd cmd) const
+    inline bool allocOnFill(MemCmd cmd) const override
     {
         return clusivity == Enums::mostly_incl ||
             cmd == MemCmd::WriteLineReq ||