diff options
author | Anna Henningsen <anna@addaleax.net> | 2017-12-09 04:40:20 +0100 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2017-12-13 06:45:56 +0100 |
commit | 24b0f67c2b0b97a4b79f9582e805785cb317daa0 (patch) | |
tree | 40b9f6b2c6fdf67eeda4462e6428088dc61611d7 /src/stream_wrap.h | |
parent | 486290b1fefe31e5dc3d77aa51cfeae208d0e0fd (diff) | |
download | node-new-24b0f67c2b0b97a4b79f9582e805785cb317daa0.tar.gz |
src: remove `StreamResourc::Cast()`
This is not necessary since C++ already has `static_cast`
as a proper way to cast inside a class hierarchy.
PR-URL: https://github.com/nodejs/node/pull/17564
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/stream_wrap.h')
-rw-r--r-- | src/stream_wrap.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/stream_wrap.h b/src/stream_wrap.h index 43df504e81..91fe642cd9 100644 --- a/src/stream_wrap.h +++ b/src/stream_wrap.h @@ -40,7 +40,6 @@ class LibuvStreamWrap : public HandleWrap, public StreamBase { v8::Local<v8::Context> context); int GetFD() override; - void* Cast() override; bool IsAlive() override; bool IsClosing() override; bool IsIPCPipe() override; |