From a2463124dad02988b5f844c83a56081ec22b2c93 Mon Sep 17 00:00:00 2001 From: himself65 Date: Tue, 17 Mar 2020 22:28:03 +0800 Subject: [PATCH] src: enhance template function 'MakeUtf8String' PR-URL: https://github.com/nodejs/node/pull/32322 Reviewed-By: Anna Henningsen Reviewed-By: James M Snell Reviewed-By: Gus Caplan --- src/util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.cc b/src/util.cc index 29bfb5d351e35b..c604c4c9555b60 100644 --- a/src/util.cc +++ b/src/util.cc @@ -63,7 +63,7 @@ using v8::Value; template static void MakeUtf8String(Isolate* isolate, Local value, - T* target) { + MaybeStackBuffer* target) { Local string; if (!value->ToString(isolate->GetCurrentContext()).ToLocal(&string)) return;