diff options
author | Trevor Norris <trev.norris@gmail.com> | 2016-05-11 10:03:44 +0300 |
---|---|---|
committer | Trevor Norris <trev.norris@gmail.com> | 2016-05-24 23:39:30 +0300 |
commit | 13e5d4f32014e3426142580a699d0ffdf02db26a (patch) | |
tree | c2221220293f77b72bffacaaf54981e5fa86733b /src/pipe_wrap.cc | |
parent | 43b5215083287f2cfce51f50f7e12473c600eb12 (diff) |
stream_base: always use Base template class
First cast the pointer to the child Base class before casting to the
parent class to make sure it returns the correct pointer.
PR-URL: https://github.com/nodejs/node/pull/6184
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/pipe_wrap.cc')
0 files changed, 0 insertions, 0 deletions