summaryrefslogtreecommitdiff
path: root/src/aliased_buffer.h
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2018-10-29 08:47:25 -0400
committerJoyee Cheung <joyeec9h3@gmail.com>2018-10-30 15:18:35 +0800
commit93335cb772f439e475ea9ea3bd7391f216e75c84 (patch)
tree5a6566a35cf1651d7084ba55f9e2f21f9fd65d57 /src/aliased_buffer.h
parent010a3f8c23cdab04f32d2d4218361af9c7821ee5 (diff)
downloadnode-new-93335cb772f439e475ea9ea3bd7391f216e75c84.tar.gz
src: fix compiler warning
The warning is: ../src/util.h:65:11: warning: inline function 'node::Calloc<unsigned char>' is not defined [-Wundefined-inline] inline T* Calloc(size_t n); ^ ../src/aliased_buffer.h:41:15: note: used here buffer_ = Calloc<NativeT>(count); PR-URL: https://github.com/nodejs/node/pull/23954 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Matheus Marchini <mat@mmarchini.me>
Diffstat (limited to 'src/aliased_buffer.h')
-rw-r--r--src/aliased_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aliased_buffer.h b/src/aliased_buffer.h
index cdfd90765f..fa610a9774 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 {