From 46125206ec59f049fca7e72c1b0c550b138c8e19 Mon Sep 17 00:00:00 2001 From: "Bobby R. Bruce" Date: Mon, 26 Oct 2020 17:31:40 -0700 Subject: [PATCH] mem: Added missing override to cache_blk function This was causing a compilation warning/error when compiling with clang. Change-Id: Ic6cf59c002656ba2ab05d8b58766613c289e7db0 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36695 Reviewed-by: Nikos Nikoleris Reviewed-by: Daniel Carvalho Reviewed-by: Andreas Sandberg Reviewed-by: Jason Lowe-Power Maintainer: Nikos Nikoleris Maintainer: Andreas Sandberg Tested-by: kokoro --- src/mem/cache/cache_blk.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mem/cache/cache_blk.hh b/src/mem/cache/cache_blk.hh index c16e59980..bcd5c4b1b 100644 --- a/src/mem/cache/cache_blk.hh +++ b/src/mem/cache/cache_blk.hh @@ -160,7 +160,7 @@ class CacheBlk : public TaggedEntry /** * Invalidate the block and clear all state. */ - virtual void invalidate() + virtual void invalidate() override { TaggedEntry::invalidate(); -- 2.30.2