From: Gabe Black Date: Wed, 27 Nov 2019 12:13:11 +0000 (-0800) Subject: mem-cache: Avoid hiding a virtual method in the dictionary compressor. X-Git-Tag: v19.0.0.0~248 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=078bdc86617e096d545b253f359ab27d5b3fdced;p=gem5.git mem-cache: Avoid hiding a virtual method in the dictionary compressor. 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 Maintainer: Gabe Black Tested-by: kokoro --- diff --git a/src/mem/cache/compressors/dictionary_compressor.hh b/src/mem/cache/compressors/dictionary_compressor.hh index 1615990b4..5eb5f0654 100644 --- a/src/mem/cache/compressors/dictionary_compressor.hh +++ b/src/mem/cache/compressors/dictionary_compressor.hh @@ -230,6 +230,8 @@ class DictionaryCompressor : public BaseDictionaryCompressor std::unique_ptr compress( const uint64_t* data); + using BaseDictionaryCompressor::compress; + /** * Decompress data. *