From 078bdc86617e096d545b253f359ab27d5b3fdced Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 27 Nov 2019 04:13:11 -0800 Subject: [PATCH] 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 --- src/mem/cache/compressors/dictionary_compressor.hh | 2 ++ 1 file changed, 2 insertions(+) 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. * -- 2.30.2