aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/ext/server_credentials.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/ext/server_credentials.h')
-rw-r--r--src/node/ext/server_credentials.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/ext/server_credentials.h b/src/node/ext/server_credentials.h
index f09902420c..aaa7ef297a 100644
--- a/src/node/ext/server_credentials.h
+++ b/src/node/ext/server_credentials.h
@@ -64,7 +64,7 @@ class ServerCredentials : public ::node::ObjectWrap {
static NAN_METHOD(New);
static NAN_METHOD(CreateSsl);
static NAN_METHOD(CreateFake);
- static v8::Persistent<v8::Function> constructor;
+ static NanCallback *constructor;
// Used for typechecking instances of this javascript class
static v8::Persistent<v8::FunctionTemplate> fun_tpl;