diff options
author | Daniel R. Carvalho <odanrc@yahoo.com.br> | 2018-03-23 11:51:45 +0100 |
---|---|---|
committer | Daniel Carvalho <odanrc@yahoo.com.br> | 2018-03-23 10:53:42 +0000 |
commit | 57b0be74cc539312536064e1ca13e84f090420f4 (patch) | |
tree | ebdf6ee413614bd6b3c1dbb59aa02c62004e6ef2 /src/mem/cache/replacement_policies/mru_rp.hh | |
parent | 9c8af4292004d0f2337dcc7eb45a56993e3719c9 (diff) | |
download | gem5-57b0be74cc539312536064e1ca13e84f090420f4.tar.xz |
mem-cache: Fix MRU rebase
Rebase of MRU missed a const qualifier, introducing a compilation
error.
Change-Id: Ia25aa30523613a1a87593a353abe439946656f63
Reviewed-on: https://gem5-review.googlesource.com/9301
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'src/mem/cache/replacement_policies/mru_rp.hh')
-rw-r--r-- | src/mem/cache/replacement_policies/mru_rp.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/cache/replacement_policies/mru_rp.hh b/src/mem/cache/replacement_policies/mru_rp.hh index d9276e689..d947d7cb3 100644 --- a/src/mem/cache/replacement_policies/mru_rp.hh +++ b/src/mem/cache/replacement_policies/mru_rp.hh @@ -77,7 +77,7 @@ class MRURP : public BaseReplacementPolicy * @param cands Replacement candidates, selected by indexing policy. * @return Cache block to be replaced. */ - CacheBlk* getVictim(ReplacementCandidates& candidates) override; + CacheBlk* getVictim(const ReplacementCandidates& candidates) override; }; #endif // __MEM_CACHE_REPLACEMENT_POLICIES_MRU_RP_HH__ |