diff options
author | Anna Henningsen <anna@addaleax.net> | 2017-10-12 08:11:03 +0300 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-10-13 23:05:49 +0300 |
commit | 00fe76d2df4651b453a906fac0cccc5fcafb067a (patch) | |
tree | cd72f00b5742577f41913b21f1bde6b5d3954c1c /src/tcp_wrap.cc | |
parent | 7245e852f2191a256fc748b891266f4b3a91ac10 (diff) |
src: rename StreamWrap to LibuvStreamWrap
This should help clarify what kind of resource a `StreamWrap`
represents.
PR-URL: https://github.com/nodejs/node/pull/16157
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'src/tcp_wrap.cc')
-rw-r--r-- | src/tcp_wrap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcp_wrap.cc b/src/tcp_wrap.cc index 2bbc350dd55..fdb8244bf6a 100644 --- a/src/tcp_wrap.cc +++ b/src/tcp_wrap.cc @@ -90,7 +90,7 @@ void TCPWrap::Initialize(Local<Object> target, env->SetProtoMethod(t, "unref", HandleWrap::Unref); env->SetProtoMethod(t, "hasRef", HandleWrap::HasRef); - StreamWrap::AddMethods(env, t, StreamBase::kFlagHasWritev); + LibuvStreamWrap::AddMethods(env, t, StreamBase::kFlagHasWritev); env->SetProtoMethod(t, "open", Open); env->SetProtoMethod(t, "bind", Bind); |