summaryrefslogtreecommitdiff
path: root/view/sharedcache/core/ObjC.cpp
diff options
context:
space:
mode:
authorMark Rowe <mrowe@bdash.net.nz>2025-05-02 11:04:25 -0700
committerMark Rowe <mrowe@bdash.net.nz>2025-05-02 11:07:28 -0700
commitbc9f8871da54a3b5e20135d0452a21ce2bac96d9 (patch)
treeaecf33cb3426a4b59db9c3051871cbb51c3931f4 /view/sharedcache/core/ObjC.cpp
parente34544ca4c13d3c5794a3eca2eaeb48ee150c765 (diff)
[SharedCache] Have VirtualMemoryReader get the address size from the underlying VirtualMemory
Diffstat (limited to 'view/sharedcache/core/ObjC.cpp')
-rw-r--r--view/sharedcache/core/ObjC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/sharedcache/core/ObjC.cpp b/view/sharedcache/core/ObjC.cpp
index 2e37fd27..98fc42bb 100644
--- a/view/sharedcache/core/ObjC.cpp
+++ b/view/sharedcache/core/ObjC.cpp
@@ -88,7 +88,7 @@ std::shared_ptr<ObjCReader> SharedCacheObjCProcessor::GetReader()
// TODO: This should never happen.
if (!controller)
throw std::runtime_error("SharedCacheController not found for SharedCacheObjCProcessor::GetReader!");
- auto reader = VirtualMemoryReader(controller->GetCache().GetVirtualMemory(), m_data->GetAddressSize());
+ auto reader = VirtualMemoryReader(controller->GetCache().GetVirtualMemory());
return std::make_shared<SharedCacheObjCReader>(reader);
}