diff options
| author | Stefan Boberg <[email protected]> | 2021-09-02 13:01:52 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-02 13:01:52 +0200 |
| commit | 709c2f8afebe9151aa947ec53ab801c2e5be4746 (patch) | |
| tree | f64fb6137580d21d116563776b4708207e4c352d /zenserver/projectstore.cpp | |
| parent | Added HashMemory() function accepting CompositeBuffer argument (diff) | |
| download | zen-709c2f8afebe9151aa947ec53ab801c2e5be4746.tar.xz zen-709c2f8afebe9151aa947ec53ab801c2e5be4746.zip | |
Introduced support for compressed buffer attachments
Diffstat (limited to 'zenserver/projectstore.cpp')
| -rw-r--r-- | zenserver/projectstore.cpp | 2 |
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(); |