diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2016-07-24 06:13:19 +0300 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2016-09-23 09:46:06 +0300 |
commit | 0c6455278da681d20fa8297f4a1c301cb78506f5 (patch) | |
tree | 617a01c4c7b429908cfa5ffb2aa0f05d9b02a56e /src/pipe_wrap.cc | |
parent | 84eaa4aff37f414b4ce276c437e5768b8681e390 (diff) |
src: make ReqWrap req_ member private
This commit attempts to address one of the items in
https://github.com/nodejs/node/issues/4641 which is
related to src/req-wrap.h and making the req_ member private.
PR-URL: https://github.com/nodejs/node/pull/8532
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
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 77476d52db5..8fd2f8f5f3b 100644 --- a/src/pipe_wrap.cc +++ b/src/pipe_wrap.cc @@ -168,7 +168,7 @@ void PipeWrap::Connect(const FunctionCallbackInfo<Value>& args) { ConnectWrap* req_wrap = new ConnectWrap(env, req_wrap_obj, AsyncWrap::PROVIDER_PIPECONNECTWRAP); - uv_pipe_connect(&req_wrap->req_, + uv_pipe_connect(req_wrap->req(), &wrap->handle_, *name, AfterConnect); |