Skip to content

Commit 93335cb

Browse files
cjihrigjoyeecheung
authored andcommitted
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: #23954 Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Tiancheng "Timothy" Gu <[email protected]> Reviewed-By: Matheus Marchini <[email protected]>
1 parent 010a3f8 commit 93335cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/aliased_buffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
55

66
#include "v8.h"
7-
#include "util.h"
7+
#include "util-inl.h"
88

99
namespace node {
1010

0 commit comments

Comments
 (0)