Skip to content

Commit

Permalink
fixup! fixup! src,lib: group properties used as constants from util
Browse files Browse the repository at this point in the history
… binding

Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
  • Loading branch information
daeyeon committed Nov 23, 2022
1 parent 21e2ae8 commit 397662e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/node_util.cc
Expand Up @@ -365,7 +365,7 @@ void Initialize(Local<Object> target,
Isolate* isolate = env->isolate();

{
Local<v8::ObjectTemplate> tmpl = v8::ObjectTemplate::New(isolate);
Local<ObjectTemplate> tmpl = ObjectTemplate::New(isolate);
#define V(PropertyName, _) \
tmpl->Set(FIXED_ONE_BYTE_STRING(env->isolate(), #PropertyName), \
env->PropertyName());
Expand All @@ -381,7 +381,7 @@ void Initialize(Local<Object> target,
}

{
Local<Object> constants = Object::New(env->isolate());
Local<Object> constants = Object::New(isolate);
#define V(name) \
constants \
->Set(context, \
Expand Down

0 comments on commit 397662e

Please sign in to comment.