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
commit6bdc557f7230ed3e98bb463b344d8fa59dd5a8c6 (patch)
treef954328c9299fe8c241da7007259a98e7fdd451a /src/video_core/buffer_cache/map_interval.h
parent8098f3ba589428dfc0f380890cb85efb900b888b (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 652a35dcdd..c1cd52ca4e 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);
}