diff options
Diffstat (limited to 'zenserver/compute/apply.cpp')
| -rw-r--r-- | zenserver/compute/apply.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zenserver/compute/apply.cpp b/zenserver/compute/apply.cpp index b0d21d53a..c3d8c01ab 100644 --- a/zenserver/compute/apply.cpp +++ b/zenserver/compute/apply.cpp @@ -429,7 +429,7 @@ HttpFunctionService::HttpFunctionService(CasStore& Store, CidStore& InCidStore, ZEN_ASSERT(Attachment.IsBinary()); const IoHash DataHash = Attachment.GetHash(); - SharedBuffer DataView = Attachment.AsBinaryView(); + SharedBuffer DataView = Attachment.AsBinary(); TotalAttachmentBytes += DataView.GetSize(); ++AttachmentCount; @@ -571,7 +571,7 @@ HttpFunctionService::HttpFunctionService(CasStore& Store, CidStore& InCidStore, ZEN_ASSERT(Attachment.IsBinary()); const IoHash DataHash = Attachment.GetHash(); - SharedBuffer DataView = Attachment.AsBinaryView(); + SharedBuffer DataView = Attachment.AsBinary(); TotalAttachmentBytes += DataView.GetSize(); ++AttachmentCount; |