aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/buffer_cache/map_interval.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-07-19 13:22:27 -0400
committerFernandoS27 <fsahmkow27@gmail.com>2019-08-21 12:14:23 -0400
commit86d8563314c615d60c7b59748467ffb71904b0c4 (patch)
treef954328c9299fe8c241da7007259a98e7fdd451a /src/video_core/buffer_cache/map_interval.h
parent862bec001b7ada13ba0e97f95d6ad108ae8a8d0c (diff)
Buffer_Cache: Fixes and optimizations.
Diffstat (limited to 'src/video_core/buffer_cache/map_interval.h')
-rw-r--r--src/video_core/buffer_cache/map_interval.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/buffer_cache/map_interval.h b/src/video_core/buffer_cache/map_interval.h
index 652a35dcd..c1cd52ca4 100644
--- a/src/video_core/buffer_cache/map_interval.h
+++ b/src/video_core/buffer_cache/map_interval.h
@@ -14,7 +14,7 @@ struct MapInterval {
MapInterval(const CacheAddr start, const CacheAddr end) : start{start}, end{end} {}
CacheAddr start;
CacheAddr end;
- bool IsInside(const CacheAddr other_start, const CacheAddr other_end) {
+ bool IsInside(const CacheAddr other_start, const CacheAddr other_end) const {
return (start <= other_start && other_end <= end);
}