diff options
| author | Alexander Taylor <alex@vector35.com> | 2025-05-27 13:47:26 -0400 |
|---|---|---|
| committer | Alexander Taylor <alex@vector35.com> | 2025-06-25 18:36:48 -0400 |
| commit | 0838242066437a04e3aa3417cab703cc071adde6 (patch) | |
| tree | 281a5f496855aa4f7e3f342153c4f45c93c3d1cd /view/sharedcache/core/VirtualMemory.h | |
| parent | 0db1435ce97fcc62a1676a819ac33e80dd3a010a (diff) | |
Fix cxx20 compiler errors.
Diffstat (limited to 'view/sharedcache/core/VirtualMemory.h')
| -rw-r--r-- | view/sharedcache/core/VirtualMemory.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/view/sharedcache/core/VirtualMemory.h b/view/sharedcache/core/VirtualMemory.h index c4eb5a70..a490fa24 100644 --- a/view/sharedcache/core/VirtualMemory.h +++ b/view/sharedcache/core/VirtualMemory.h @@ -26,6 +26,10 @@ struct VirtualMemoryRegion // NOTE: Any read through this should be seeked to `fileOffset` WeakFileAccessor fileAccessor; + VirtualMemoryRegion(uint64_t offset, WeakFileAccessor accessor) + : fileOffset(offset), fileAccessor(std::move(accessor)) {} + + VirtualMemoryRegion(const VirtualMemoryRegion&) = default; VirtualMemoryRegion& operator=(const VirtualMemoryRegion&) = default; |
