summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mem/cache/replacement_policies/random_rp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/cache/replacement_policies/random_rp.cc b/src/mem/cache/replacement_policies/random_rp.cc
index 24e64fc90..6a0f353b7 100644
--- a/src/mem/cache/replacement_policies/random_rp.cc
+++ b/src/mem/cache/replacement_policies/random_rp.cc
@@ -86,7 +86,7 @@ RandomRP::getVictim(const ReplacementCandidates& candidates) const
std::shared_ptr<ReplacementData>
RandomRP::instantiateEntry()
{
- return std::shared_ptr<ReplacementData>(new ReplacementData());
+ return std::shared_ptr<ReplacementData>(new RandomReplData());
}
RandomRP*