From 20456a4d347e5c185223c5d5230f921e1d3c6f71 Mon Sep 17 00:00:00 2001 From: "Bobby R. Bruce" Date: Fri, 13 Nov 2020 20:08:30 -0800 Subject: [PATCH] mem-cache,misc: Added missing override to operator Clang compilation was failing in error due to this missing override. Change-Id: I92f1774cd2f1f5ef90ab1d72d038f6c65cba70ad Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/37535 Reviewed-by: Hoa Nguyen Reviewed-by: Daniel Carvalho Maintainer: Bobby R. Bruce Tested-by: kokoro --- src/mem/cache/tags/super_blk.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mem/cache/tags/super_blk.hh b/src/mem/cache/tags/super_blk.hh index 64d73bdf0..1ffd0f7eb 100644 --- a/src/mem/cache/tags/super_blk.hh +++ b/src/mem/cache/tags/super_blk.hh @@ -90,7 +90,7 @@ class CompressionBlk : public SectorSubBlk * variables will remain the same. */ CompressionBlk& operator=(CompressionBlk&& other); - CacheBlk& operator=(CacheBlk&& other); + CacheBlk& operator=(CacheBlk&& other) override; ~CompressionBlk() = default; /** -- 2.30.2