From f6fd580c251ae9cc67acf348c17467b603afbc4d Mon Sep 17 00:00:00 2001 From: Santiago Gimeno Date: Thu, 16 Nov 2023 14:55:37 +0100 Subject: [PATCH] src: fix SetupArrayBufferExports() declaration PR-URL: https://github.com/nodesource/nsolid/pull/25 Reviewed-by: Trevor Norris --- src/nsolid/nsolid_api.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nsolid/nsolid_api.cc b/src/nsolid/nsolid_api.cc index e7b1dc4ca7..34f0986890 100644 --- a/src/nsolid/nsolid_api.cc +++ b/src/nsolid/nsolid_api.cc @@ -2516,7 +2516,7 @@ static void GetOnBlockedBody(const FunctionCallbackInfo& args) { static void SetupArrayBufferExports(Isolate* isolate, Local target, Local context, - std::shared_ptr envinst_sp) { + SharedEnvInst envinst_sp) { std::unique_ptr bs = ArrayBuffer::NewBackingStore(envinst_sp->count_fields, EnvInst::kFieldCount * sizeof(double),