Skip to content

Commit

Permalink
Update addon.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
uNetworkingAB committed May 11, 2024
1 parent 3fac226 commit 7fb9c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/addon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ PerContextData *Main(Local<Object> exports) {

//FunctionTemplate::New(isolate, uWS_log)->GetFunction(isolate->GetCurrentContext()).ToLocalChecked()

NewFunctionTemplate(isolate,
FunctionTemplate::New(isolate,
SlowByteLengthUtf8,
Local<v8::Signature>(),
v8::ConstructorBehavior::kThrow,
Expand Down

0 comments on commit 7fb9c26

Please sign in to comment.