summaryrefslogtreecommitdiff
path: root/view/sharedcache/core/SlideInfo.cpp
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-04-14 01:53:06 -0400
committerMason Reed <mason@vector35.com>2025-04-14 03:20:51 -0400
commitb74c500aa9e5e7949ca46f42e0dc62e02136e259 (patch)
treeae35d1385b653b3b76d1fed032a55412c718a23a /view/sharedcache/core/SlideInfo.cpp
parent043a863cef0cecd85d81704a2cfa89bc8964d5c0 (diff)
[SharedCache] Misc cleanup
- Make `SharedCache::m_entries` a simple std::vector we never lookup based off the entry ID - Remove some old comments - Rename some old variables so that they are accurate - Fix compiler warnings - Remove some unneeded copying
Diffstat (limited to 'view/sharedcache/core/SlideInfo.cpp')
-rw-r--r--view/sharedcache/core/SlideInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/sharedcache/core/SlideInfo.cpp b/view/sharedcache/core/SlideInfo.cpp
index 9fcb88bd..cedb4ab8 100644
--- a/view/sharedcache/core/SlideInfo.cpp
+++ b/view/sharedcache/core/SlideInfo.cpp
@@ -158,7 +158,7 @@ void ApplySlideInfoV2(MappedFileAccessor& accessor, const SlideMappingInfo& mapp
std::vector<SlideMappingInfo> SlideInfoProcessor::ReadEntryInfo(const MappedFileAccessor& accessor, const CacheEntry& entry) const
{
- auto& baseHeader = entry.GetHeader();
+ const auto& baseHeader = entry.GetHeader();
// Handle legacy, single mapping slide info.
if (baseHeader.slideInfoOffsetUnused)