aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/ext/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/ext/server.h')
-rw-r--r--src/node/ext/server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/ext/server.h b/src/node/ext/server.h
index 2056fe7d3f..641d5ccb3e 100644
--- a/src/node/ext/server.h
+++ b/src/node/ext/server.h
@@ -67,7 +67,7 @@ class Server : public ::node::ObjectWrap {
static NAN_METHOD(AddSecureHttp2Port);
static NAN_METHOD(Start);
static NAN_METHOD(Shutdown);
- static v8::Persistent<v8::Function> constructor;
+ static NanCallback *constructor;
static v8::Persistent<v8::FunctionTemplate> fun_tpl;
grpc_server *wrapped_server;