From: Gabe Black <gabeblack@google.com> Date: Mon, 10 Feb 2020 03:33:50 +0000 (-0800) Subject: mem: Use using to expose a print method that would otherwise be hidden. X-Git-Tag: v20.0.0.0~464 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fcbea600851fd72c69ecf3fc437628cd67c5123d;p=gem5.git 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 <nikos.nikoleris@arm.com> Maintainer: Gabe Black <gabeblack@google.com> Tested-by: kokoro <noreply+kokoro@google.com> --- 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