summaryrefslogtreecommitdiff
path: root/src/mem
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem')
-rw-r--r--src/mem/cache/prefetch/base.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/cache/prefetch/base.hh b/src/mem/cache/prefetch/base.hh
index 683c59f1f..3b2310621 100644
--- a/src/mem/cache/prefetch/base.hh
+++ b/src/mem/cache/prefetch/base.hh
@@ -125,7 +125,7 @@ class BasePrefetcher : public ClockedObject
virtual ~BasePrefetcher() {}
- void setCache(BaseCache *_cache);
+ virtual void setCache(BaseCache *_cache);
/**
* Notify prefetcher of cache access (may be any access or just