From 9aad41b9ed07d43fab2519232bb7b3991729e059 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' --- 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;