From 93335cb772f439e475ea9ea3bd7391f216e75c84 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Mon, 29 Oct 2018 08:47:25 -0400 Subject: [PATCH] src: fix compiler warning The warning is: ../src/util.h:65:11: warning: inline function 'node::Calloc' is not defined [-Wundefined-inline] inline T* Calloc(size_t n); ^ ../src/aliased_buffer.h:41:15: note: used here buffer_ = Calloc(count); PR-URL: https://github.com/nodejs/node/pull/23954 Reviewed-By: Daniel Bevenius Reviewed-By: Anna Henningsen Reviewed-By: James M Snell Reviewed-By: Ben Noordhuis Reviewed-By: Tiancheng "Timothy" Gu Reviewed-By: Matheus Marchini --- src/aliased_buffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aliased_buffer.h b/src/aliased_buffer.h index cdfd90765fcd86..fa610a97744840 100644 --- a/src/aliased_buffer.h +++ b/src/aliased_buffer.h @@ -4,7 +4,7 @@ #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS #include "v8.h" -#include "util.h" +#include "util-inl.h" namespace node {