Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor Norris <trev.norris@gmail.com>2014-11-15 02:47:34 +0300
committerBert Belder <bertbelder@gmail.com>2014-12-09 19:57:16 +0300
commitf39b48c26d669765154e42ebd02c28585551cd0e (patch)
tree3bec33760222d52bb97b665f3538540f0bf3ae8d /src/handle_wrap.cc
parent819690fd983d61f90cdf05714a30782fe3b553cd (diff)
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/handle_wrap.cc')
-rw-r--r--src/handle_wrap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handle_wrap.cc b/src/handle_wrap.cc
index 3e348a8b258..f4e34effc66 100644
--- a/src/handle_wrap.cc
+++ b/src/handle_wrap.cc
@@ -89,7 +89,7 @@ HandleWrap::HandleWrap(Environment* env,
handle__(handle) {
handle__->data = this;
HandleScope scope(env->isolate());
- Wrap<HandleWrap>(object, this);
+ Wrap(object, this);
QUEUE_INSERT_TAIL(env->handle_wrap_queue(), &handle_wrap_queue_);
}