Skip to content

Commit 397662e

Browse files
committed
fixup! fixup! src,lib: group properties used as constants from util binding
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
1 parent 21e2ae8 commit 397662e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/node_util.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ void Initialize(Local<Object> target,
365365
Isolate* isolate = env->isolate();
366366

367367
{
368-
Local<v8::ObjectTemplate> tmpl = v8::ObjectTemplate::New(isolate);
368+
Local<ObjectTemplate> tmpl = ObjectTemplate::New(isolate);
369369
#define V(PropertyName, _) \
370370
tmpl->Set(FIXED_ONE_BYTE_STRING(env->isolate(), #PropertyName), \
371371
env->PropertyName());
@@ -381,7 +381,7 @@ void Initialize(Local<Object> target,
381381
}
382382

383383
{
384-
Local<Object> constants = Object::New(env->isolate());
384+
Local<Object> constants = Object::New(isolate);
385385
#define V(name) \
386386
constants \
387387
->Set(context, \

0 commit comments

Comments
 (0)