mem-cache: Avoid hiding a virtual method in the dictionary compressor.
authorGabe Black <gabeblack@google.com>
Wed, 27 Nov 2019 12:13:11 +0000 (04:13 -0800)
committerGabe Black <gabeblack@google.com>
Thu, 28 Nov 2019 07:14:57 +0000 (07:14 +0000)
The non-virtual version is later used in overrides of the virtual
version whcih takes more arguments.

Change-Id: I102d1185c7a616337c2a0429daa998706189292f
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23127
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/cache/compressors/dictionary_compressor.hh

index 1615990b40fd6fbf3b53dad4d4bf3d0004751522..5eb5f0654abdcdf0e03a965d9d65eede17df3220 100644 (file)
@@ -230,6 +230,8 @@ class DictionaryCompressor : public BaseDictionaryCompressor
     std::unique_ptr<BaseCacheCompressor::CompressionData> compress(
         const uint64_t* data);
 
+    using BaseDictionaryCompressor::compress;
+
     /**
      * Decompress data.
      *