From d24f49c9cd29e8bd9413fbaf1ae869e82929f98d Mon Sep 17 00:00:00 2001 From: viferga Date: Mon, 2 Dec 2019 12:13:50 -0900 Subject: [PATCH] Solve minor bug in namespaces on node port. --- source/ports/node_port/source/node_port.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ports/node_port/source/node_port.cpp b/source/ports/node_port/source/node_port.cpp index 959cf4893..0b1cd6d09 100644 --- a/source/ports/node_port/source/node_port.cpp +++ b/source/ports/node_port/source/node_port.cpp @@ -364,7 +364,7 @@ napi_value metacall_node_inspect(napi_env env, napi_callback_info) size_t size = 0; - struct metacall_allocator_std_type std_ctx = { &std::malloc, &std::realloc, &std::free }; + struct metacall_allocator_std_type std_ctx = { &malloc, &realloc, &free }; void * allocator = metacall_allocator_create(METACALL_ALLOCATOR_STD, (void *)&std_ctx);