diff options
| author | Stefan Boberg <[email protected]> | 2025-03-06 17:35:39 +0100 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2025-03-06 17:35:39 +0100 |
| commit | b044289e3c8fbc4eb4ffa5c1d96da51aa0a41f9b (patch) | |
| tree | a511dd945c87415fb5389e6579299095e3f3afc8 /src/zenserver/projectstore/remoteprojectstore.cpp | |
| parent | switched std::vector -> eastl::vector (diff) | |
| download | zen-sb/eastl.tar.xz zen-sb/eastl.zip | |
std::span -> eastl::spansb/eastl
Diffstat (limited to 'src/zenserver/projectstore/remoteprojectstore.cpp')
| -rw-r--r-- | src/zenserver/projectstore/remoteprojectstore.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/zenserver/projectstore/remoteprojectstore.cpp b/src/zenserver/projectstore/remoteprojectstore.cpp index 41f20d760..8c657ab5b 100644 --- a/src/zenserver/projectstore/remoteprojectstore.cpp +++ b/src/zenserver/projectstore/remoteprojectstore.cpp @@ -1104,7 +1104,7 @@ GetBlockHashesFromOplog(CbObjectView ContainerObject) } eastl::vector<ThinChunkBlockDescription> -GetBlocksFromOplog(CbObjectView ContainerObject, std::span<const IoHash> IncludeBlockHashes) +GetBlocksFromOplog(CbObjectView ContainerObject, eastl::span<const IoHash> IncludeBlockHashes) { using namespace std::literals; eastl::vector<ThinChunkBlockDescription> Result; @@ -1650,7 +1650,7 @@ BuildContainer(CidStore& ChunkStore, CompositeBuffer Decompressed = Compressed.DecompressToComposite(); if (Decompressed) { - std::span<const SharedBuffer> Segments = Decompressed.GetSegments(); + eastl::span<const SharedBuffer> Segments = Decompressed.GetSegments(); if (Segments.size() == 1) { IoBuffer DecompressedData = Segments[0].AsIoBuffer(); @@ -2634,7 +2634,7 @@ SaveOplog(CidStore& ChunkStore, RemoteProjectStore::Result ParseOplogContainer(const CbObject& ContainerObject, - const std::function<void(std::span<IoHash> RawHashes)>& OnReferencedAttachments, + const std::function<void(eastl::span<IoHash> RawHashes)>& OnReferencedAttachments, const std::function<bool(const IoHash& RawHash)>& HasAttachment, const std::function<void(const IoHash& BlockHash, eastl::vector<IoHash>&& Chunks)>& OnNeedBlock, const std::function<void(const IoHash& RawHash)>& OnNeedAttachment, @@ -2778,7 +2778,7 @@ ParseOplogContainer(const CbObject& ContainerObject, RemoteProjectStore::Result SaveOplogContainer(ProjectStore::Oplog& Oplog, const CbObject& ContainerObject, - const std::function<void(std::span<IoHash> RawHashes)>& OnReferencedAttachments, + const std::function<void(eastl::span<IoHash> RawHashes)>& OnReferencedAttachments, const std::function<bool(const IoHash& RawHash)>& HasAttachment, const std::function<void(const IoHash& BlockHash, eastl::vector<IoHash>&& Chunks)>& OnNeedBlock, const std::function<void(const IoHash& RawHash)>& OnNeedAttachment, @@ -2975,7 +2975,7 @@ LoadOplog(CidStore& ChunkStore, } }; - auto OnReferencedAttachments = [&Oplog](std::span<IoHash> RawHashes) { Oplog.CaptureAddedAttachments(RawHashes); }; + auto OnReferencedAttachments = [&Oplog](eastl::span<IoHash> RawHashes) { Oplog.CaptureAddedAttachments(RawHashes); }; // Make sure we retain any attachments we download before writing the oplog Oplog.EnableUpdateCapture(); |