Skip to content

Commit

Permalink
Removing unnecessary template parameters for OnConnection
Browse files Browse the repository at this point in the history
  • Loading branch information
danbev committed Jul 17, 2016
1 parent 73c956d commit 4feb84a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pipe_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ void PipeWrap::Listen(const FunctionCallbackInfo<Value>& args) {
int backlog = args[0]->Int32Value();
int err = uv_listen(reinterpret_cast<uv_stream_t*>(&wrap->handle_),
backlog,
ConnectionWrap<PipeWrap, uv_pipe_t>::OnConnection);
OnConnection);
args.GetReturnValue().Set(err);
}

Expand Down
2 changes: 1 addition & 1 deletion src/tcp_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ void TCPWrap::Listen(const FunctionCallbackInfo<Value>& args) {
int backlog = args[0]->Int32Value();
int err = uv_listen(reinterpret_cast<uv_stream_t*>(&wrap->handle_),
backlog,
ConnectionWrap<TCPWrap, uv_tcp_t>::OnConnection);
OnConnection);
args.GetReturnValue().Set(err);
}

Expand Down

0 comments on commit 4feb84a

Please sign in to comment.