Skip to content

Commit

Permalink
napi: fix gcc complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Schulhof committed Feb 4, 2017
1 parent 8c0d361 commit 8803b97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/node_jsvmapi.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*******************************************************************************
/*******************************************************************************
* Experimental prototype for demonstrating VM agnostic and ABI stable API
* for native modules to use instead of using Nan and V8 APIs directly.
*
Expand Down Expand Up @@ -201,7 +201,7 @@ namespace v8impl {
public:
CallbackWrapperBase(const T& cbinfo)
: _cbinfo(cbinfo),
_cbdata(cbinfo.Data().As<v8::Object>()) {
_cbdata(v8::Local<v8::Object>::Cast(cbinfo.Data())) {
}

virtual napi_value This() override {
Expand Down

0 comments on commit 8803b97

Please sign in to comment.