mem-cache,misc: Added missing override to operator
authorBobby R. Bruce <bbruce@ucdavis.edu>
Sat, 14 Nov 2020 04:08:30 +0000 (20:08 -0800)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Tue, 17 Nov 2020 22:46:40 +0000 (22:46 +0000)
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 <hoanguyen@ucdavis.edu>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/cache/tags/super_blk.hh

index 64d73bdf07a13c1460992d19110785d4196a6bc4..1ffd0f7eb3b4887ee6f79d6204dd07f1fb844c92 100644 (file)
@@ -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;
 
     /**