diff options
author | Trevor Norris <trev.norris@gmail.com> | 2014-11-14 15:47:34 -0800 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2014-12-09 17:57:16 +0100 |
commit | f39b48c26d669765154e42ebd02c28585551cd0e (patch) | |
tree | 3bec33760222d52bb97b665f3538540f0bf3ae8d /src/pipe_wrap.cc | |
parent | 819690fd983d61f90cdf05714a30782fe3b553cd (diff) | |
download | android-node-v8-f39b48c26d669765154e42ebd02c28585551cd0e.tar.gz android-node-v8-f39b48c26d669765154e42ebd02c28585551cd0e.tar.bz2 android-node-v8-f39b48c26d669765154e42ebd02c28585551cd0e.zip |
src: remove unnecessary template parameter
The template class information is received via the type of the first
argument. So there is no need to use Wrap<T>(handle).
PR-URL: https://github.com/joyent/node/pull/8110
Signed-off-by: Trevor Norris <trev.norris@gmail.com>
Reviewed-by: Fedor Indutny <fedor@indutny.com>
Reviewed-by: Alexis Campailla <alexis@janeasystems.com>
Reviewed-by: Julien Gilli <julien.gilli@joyent.com>
Diffstat (limited to 'src/pipe_wrap.cc')
-rw-r--r-- | src/pipe_wrap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pipe_wrap.cc b/src/pipe_wrap.cc index a46060cb8b..512b438218 100644 --- a/src/pipe_wrap.cc +++ b/src/pipe_wrap.cc @@ -60,7 +60,7 @@ class PipeConnectWrap : public ReqWrap<uv_connect_t> { PipeConnectWrap::PipeConnectWrap(Environment* env, Local<Object> req_wrap_obj) : ReqWrap(env, req_wrap_obj, AsyncWrap::PROVIDER_PIPEWRAP) { - Wrap<PipeConnectWrap>(req_wrap_obj, this); + Wrap(req_wrap_obj, this); } |