diff options
author | Anna Henningsen <anna@addaleax.net> | 2017-12-09 06:40:20 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2017-12-13 08:45:56 +0300 |
commit | 24b0f67c2b0b97a4b79f9582e805785cb317daa0 (patch) | |
tree | 40b9f6b2c6fdf67eeda4462e6428088dc61611d7 /src/tls_wrap.h | |
parent | 486290b1fefe31e5dc3d77aa51cfeae208d0e0fd (diff) |
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/tls_wrap.h')
-rw-r--r-- | src/tls_wrap.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tls_wrap.h b/src/tls_wrap.h index b782e7c3c23..edd21cf1cfa 100644 --- a/src/tls_wrap.h +++ b/src/tls_wrap.h @@ -56,7 +56,6 @@ class TLSWrap : public AsyncWrap, v8::Local<v8::Value> unused, v8::Local<v8::Context> context); - void* Cast() override; int GetFD() override; bool IsAlive() override; bool IsClosing() override; |