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) {
207
207
return nullptr ;
208
208
}
209
209
return DataQueue::CreateInMemoryEntryFromBackingStore (
210
- store, byte_offset, byte_length);
210
+ std::move ( store) , byte_offset, byte_length);
211
211
}
212
212
213
213
// If the ArrayBuffer is not detachable, we will copy from it instead.
@@ -216,7 +216,7 @@ void Blob::New(const FunctionCallbackInfo<Value>& args) {
216
216
uint8_t * ptr = static_cast <uint8_t *>(buf->Data ()) + byte_offset;
217
217
std::copy (ptr, ptr + byte_length, static_cast <uint8_t *>(store->Data ()));
218
218
return DataQueue::CreateInMemoryEntryFromBackingStore (
219
- store, 0 , byte_length);
219
+ std::move ( store) , 0 , byte_length);
220
220
};
221
221
222
222
// Every entry should be either an ArrayBuffer, ArrayBufferView, or Blob.
You can’t perform that action at this time.
0 commit comments