summaryrefslogtreecommitdiff
path: root/src/mem/ruby
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2016-02-15 03:40:32 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2016-02-15 03:40:32 -0500
commit0d50979888c1653e9ceb856c6bffa3f5062adeb9 (patch)
treedeb050fe28786751a76cdfaef40f4f79aaa72ba2 /src/mem/ruby
parent407233f5d80d04e27234eb70750a7f6ee13acd4f (diff)
downloadgem5-0d50979888c1653e9ceb856c6bffa3f5062adeb9.tar.xz
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.
Diffstat (limited to 'src/mem/ruby')
-rw-r--r--src/mem/ruby/system/WeightedLRUPolicy.hh4
1 files changed, 2 insertions, 2 deletions
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;