diff options
author | Jason Lowe-Power <jason@lowepower.com> | 2018-03-08 11:35:52 -0800 |
---|---|---|
committer | Jason Lowe-Power <jason@lowepower.com> | 2018-03-08 23:08:50 +0000 |
commit | a883aef55f2b9f33e60ce72a3e053e0c7af0f21e (patch) | |
tree | ab5f08697feb06d08306e2beb78d33172d133a14 /src | |
parent | f2c8fcc6064f330f3169e9ce31e1906a7c148c33 (diff) | |
download | gem5-a883aef55f2b9f33e60ce72a3e053e0c7af0f21e.tar.xz |
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 <jason@lowepower.com>
Reviewed-on: https://gem5-review.googlesource.com/8861
Reviewed-by: Gabe Black <gabeblack@google.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mem/cache/tags/lru.hh | 6 |
1 files 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; }; |