Skip to content

Commit d58203c

Browse files
committed
[GZNode] Change v8::Handle to v8::Local
This is a pure cosmetical change. From the docs, "Handle is an alias for Local for historical reasons" https://v8docs.nodesource.com/node-10.15/d4/da0/v8_8h_source.html#l00428
1 parent 712c740 commit d58203c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gzbridge/GZNode.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ GZNode::~GZNode()
4747
};
4848

4949
/////////////////////////////////////////////////
50-
void GZNode::Init(Handle<Object> exports)
50+
void GZNode::Init(Local<Object> exports)
5151
{
5252
Isolate* isolate = exports->GetIsolate();
5353
// Prepare constructor template
@@ -286,7 +286,7 @@ void GZNode::GetPoseMsgFilterMinimumAge(const
286286
}
287287

288288
/////////////////////////////////////////////////
289-
void InitAll(Handle<Object> exports)
289+
void InitAll(Local<Object> exports)
290290
{
291291
GZNode::Init(exports);
292292
}

gzbridge/GZNode.hh

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace gzweb
3333

3434
class GZNode : public node::ObjectWrap
3535
{
36-
public: static void Init(v8::Handle<v8::Object> exports);
36+
public: static void Init(v8::Local<v8::Object> exports);
3737

3838
private: GZNode();
3939

0 commit comments

Comments
 (0)