Skip to content

Commit

Permalink
src: enhance template function 'MakeUtf8String'
Browse files Browse the repository at this point in the history
PR-URL: #32322
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
  • Loading branch information
himself65 authored and addaleax committed Mar 30, 2020
1 parent 394f8ca commit b973b93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ using v8::Value;
template <typename T>
static void MakeUtf8String(Isolate* isolate,
Local<Value> value,
T* target) {
MaybeStackBuffer<T>* target) {
Local<String> string;
if (!value->ToString(isolate->GetCurrentContext()).ToLocal(&string)) return;

Expand Down

0 comments on commit b973b93

Please sign in to comment.