Skip to content

Commit d24f49c

Browse files
committed
Solve minor bug in namespaces on node port.
1 parent d0aae06 commit d24f49c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/ports/node_port/source/node_port.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ napi_value metacall_node_inspect(napi_env env, napi_callback_info)
364364

365365
size_t size = 0;
366366

367-
struct metacall_allocator_std_type std_ctx = { &std::malloc, &std::realloc, &std::free };
367+
struct metacall_allocator_std_type std_ctx = { &malloc, &realloc, &free };
368368

369369
void * allocator = metacall_allocator_create(METACALL_ALLOCATOR_STD, (void *)&std_ctx);
370370

0 commit comments

Comments
 (0)