From a883aef55f2b9f33e60ce72a3e053e0c7af0f21e Mon Sep 17 00:00:00 2001 From: Jason Lowe-Power Date: Thu, 8 Mar 2018 11:35:52 -0800 Subject: [PATCH] mem-cache: Fix missing overrides clang doesn't like inconsistent overrides. Add override to all overidden functions in lru.hh Change-Id: I100ff4a7d90757439afee879ff9838c15f5c0b1d Signed-off-by: Jason Lowe-Power Reviewed-on: https://gem5-review.googlesource.com/8861 Reviewed-by: Gabe Black Reviewed-by: Nikos Nikoleris Maintainer: Nikos Nikoleris --- src/mem/cache/tags/lru.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mem/cache/tags/lru.hh b/src/mem/cache/tags/lru.hh index 530b07ad7..1fbe4eb6d 100644 --- a/src/mem/cache/tags/lru.hh +++ b/src/mem/cache/tags/lru.hh @@ -69,9 +69,9 @@ class LRU : public BaseSetAssoc */ ~LRU() {} - CacheBlk* accessBlock(Addr addr, bool is_secure, Cycles &lat); - CacheBlk* findVictim(Addr addr); - void insertBlock(PacketPtr pkt, BlkType *blk); + CacheBlk* accessBlock(Addr addr, bool is_secure, Cycles &lat) override; + CacheBlk* findVictim(Addr addr) override; + void insertBlock(PacketPtr pkt, BlkType *blk) override; void invalidate(CacheBlk *blk) override; }; -- 2.30.2