From fcbea600851fd72c69ecf3fc437628cd67c5123d Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 9 Feb 2020 19:33:50 -0800 Subject: [PATCH] mem: Use using to expose a print method that would otherwise be hidden. This method would be hidden in the subclass which upset clang 11, and that caused the build to break. Change-Id: Ie678fc96a26809eb8f2acd0bddc1df81c0a9aa1e Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/25227 Reviewed-by: Nikos Nikoleris Maintainer: Gabe Black Tested-by: kokoro --- src/mem/ruby/slicc_interface/AbstractCacheEntry.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mem/ruby/slicc_interface/AbstractCacheEntry.hh b/src/mem/ruby/slicc_interface/AbstractCacheEntry.hh index 0519b3f7d..056486c05 100644 --- a/src/mem/ruby/slicc_interface/AbstractCacheEntry.hh +++ b/src/mem/ruby/slicc_interface/AbstractCacheEntry.hh @@ -56,6 +56,7 @@ class AbstractCacheEntry : public ReplaceableEntry AccessPermission getPermission() const; void changePermission(AccessPermission new_perm); + using ReplaceableEntry::print; virtual void print(std::ostream& out) const = 0; // The methods below are those called by ruby runtime, add when it -- 2.30.2