File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ void Blob::New(const FunctionCallbackInfo<Value>& args) {
207207 return nullptr ;
208208 }
209209 return DataQueue::CreateInMemoryEntryFromBackingStore (
210- store, byte_offset, byte_length);
210+ std::move ( store) , byte_offset, byte_length);
211211 }
212212
213213 // If the ArrayBuffer is not detachable, we will copy from it instead.
@@ -216,7 +216,7 @@ void Blob::New(const FunctionCallbackInfo<Value>& args) {
216216 uint8_t * ptr = static_cast <uint8_t *>(buf->Data ()) + byte_offset;
217217 std::copy (ptr, ptr + byte_length, static_cast <uint8_t *>(store->Data ()));
218218 return DataQueue::CreateInMemoryEntryFromBackingStore (
219- store, 0 , byte_length);
219+ std::move ( store) , 0 , byte_length);
220220 };
221221
222222 // Every entry should be either an ArrayBuffer, ArrayBufferView, or Blob.
You can’t perform that action at this time.
0 commit comments