From 7e71090f75ae1c62c0eadc5743c6cc0cd3298a7f 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: Santiago Gimeno --- 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),