summaryrefslogtreecommitdiff
path: root/view/sharedcache/core/SharedCache.h
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-02-19 23:20:57 -0500
committerMason Reed <mason@vector35.com>2025-04-02 05:36:54 -0400
commit0a2fa484da998e2d6e52d08cd44d1f9e7f8a5c29 (patch)
treea0f6781de30875193782ac77624aebba4b9854ed /view/sharedcache/core/SharedCache.h
parentad337df11a3939dea833fc39d7ee555a427b9d09 (diff)
[SharedCache] Don't crash if we have a different metadata version
Also we now initialize m_cacheInfo when calling `DeserializeFromRawView` the responsibility is on the caller to handle
Diffstat (limited to 'view/sharedcache/core/SharedCache.h')
-rw-r--r--view/sharedcache/core/SharedCache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/sharedcache/core/SharedCache.h b/view/sharedcache/core/SharedCache.h
index c78ad554..97da0880 100644
--- a/view/sharedcache/core/SharedCache.h
+++ b/view/sharedcache/core/SharedCache.h
@@ -585,7 +585,7 @@ namespace SharedCacheCore {
private:
void PerformInitialLoad(std::lock_guard<std::mutex>&);
- void DeserializeFromRawView(std::lock_guard<std::mutex>&);
+ bool DeserializeFromRawView(std::lock_guard<std::mutex>&);
public:
std::shared_ptr<VM> GetVMMap();