Skip to content

Commit b973b93

Browse files
himself65addaleax
authored andcommitted
src: enhance template function 'MakeUtf8String'
PR-URL: #32322 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gus Caplan <[email protected]>
1 parent 394f8ca commit b973b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ using v8::Value;
6363
template <typename T>
6464
static void MakeUtf8String(Isolate* isolate,
6565
Local<Value> value,
66-
T* target) {
66+
MaybeStackBuffer<T>* target) {
6767
Local<String> string;
6868
if (!value->ToString(isolate->GetCurrentContext()).ToLocal(&string)) return;
6969

0 commit comments

Comments
 (0)