diff --git a/src/helpers.ts b/src/helpers.ts index 2b14801..e559466 100644 --- a/src/helpers.ts +++ b/src/helpers.ts @@ -179,7 +179,7 @@ export async function createCompressedBlobDefinition (fnName: string, source: Ui function blobTypedArrayAccessors (fnName: string, sourceLength: number): string { return ` std::shared_ptr ${fnName}BackingStore() { - std::vector* str = new std::vector(std::move(${fnName}Vector())); + std::vector* str = new std::vector(${fnName}Vector()); return v8::SharedArrayBuffer::NewBackingStore( &str->front(), str->size(),