From 0d50979888c1653e9ceb856c6bffa3f5062adeb9 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Mon, 15 Feb 2016 03:40:32 -0500 Subject: misc: Add missing overrides to appease clang Since the last round of fixes a few new issues have snuck in. We should consider switching the regression runs to clang. --- src/mem/ruby/system/WeightedLRUPolicy.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mem') diff --git a/src/mem/ruby/system/WeightedLRUPolicy.hh b/src/mem/ruby/system/WeightedLRUPolicy.hh index 3150779b2..3cee9cb47 100644 --- a/src/mem/ruby/system/WeightedLRUPolicy.hh +++ b/src/mem/ruby/system/WeightedLRUPolicy.hh @@ -49,11 +49,11 @@ class WeightedLRUPolicy : public AbstractReplacementPolicy WeightedLRUPolicy(const Params* p); ~WeightedLRUPolicy(); - void touch(int64_t set, int64_t way, Tick time); + void touch(int64_t set, int64_t way, Tick time) override; void touch(int64_t set, int64_t way, Tick time, int occupancy); int64_t getVictim(int64_t set) const override; - bool useOccupancy() const { return true; } + bool useOccupancy() const override { return true; } CacheMemory * m_cache; int **m_last_occ_ptr; -- cgit v1.2.3