Port: Make getAddrRanges const
[gem5.git] / src / mem / cache / cache_impl.hh
index cc68bbd3d77736d1f073afa05f725de3c4761908..f7901261ff6f7e238ac3d649a21853b2d73d5f09 100644 (file)
@@ -1588,7 +1588,7 @@ Cache<TagStore>::unserialize(Checkpoint *cp, const std::string &section)
 
 template<class TagStore>
 AddrRangeList
-Cache<TagStore>::CpuSidePort::getAddrRanges()
+Cache<TagStore>::CpuSidePort::getAddrRanges() const
 {
     return cache->getAddrRanges();
 }