aboutsummaryrefslogtreecommitdiff
path: root/zenserver/projectstore.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-02 13:01:52 +0200
committerStefan Boberg <[email protected]>2021-09-02 13:01:52 +0200
commit709c2f8afebe9151aa947ec53ab801c2e5be4746 (patch)
treef64fb6137580d21d116563776b4708207e4c352d /zenserver/projectstore.cpp
parentAdded HashMemory() function accepting CompositeBuffer argument (diff)
downloadzen-709c2f8afebe9151aa947ec53ab801c2e5be4746.tar.xz
zen-709c2f8afebe9151aa947ec53ab801c2e5be4746.zip
Introduced support for compressed buffer attachments
Diffstat (limited to 'zenserver/projectstore.cpp')
-rw-r--r--zenserver/projectstore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenserver/projectstore.cpp b/zenserver/projectstore.cpp
index 90ff79b30..1785aad9e 100644
--- a/zenserver/projectstore.cpp
+++ b/zenserver/projectstore.cpp
@@ -542,7 +542,7 @@ ProjectStore::Oplog::AppendNewOplogEntry(CbPackage OpPackage)
for (const auto& Attach : Attachments)
{
- IoBuffer AttachmentData = Attach.AsBinaryView().AsIoBuffer();
+ IoBuffer AttachmentData = Attach.AsBinary().AsIoBuffer();
CasStore::InsertResult Result = m_CasStore.InsertChunk(AttachmentData, Attach.GetHash());
const uint64_t AttachmentSize = AttachmentData.Size();