diff options
| author | Trevor Norris <trev.norris@gmail.com> | 2013-10-29 13:09:52 -0700 |
|---|---|---|
| committer | Trevor Norris <trev.norris@gmail.com> | 2013-10-29 15:09:44 -0700 |
| commit | f2e3be53bc33fc9269c248cec4ac26d6ec9054f7 (patch) | |
| tree | 544ee459002a8fc1c8f3dccb2ff2025959fdd82b /src/node_crypto.h | |
| parent | 60a3e695cb6ff09f81de4195368535fdb11e2da9 (diff) | |
| download | node-f2e3be53bc33fc9269c248cec4ac26d6ec9054f7.tar.gz | |
src: don't use class specific Unwrap methods
Instead use the template functions in util.h.
Diffstat (limited to 'src/node_crypto.h')
| -rw-r--r-- | src/node_crypto.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/node_crypto.h b/src/node_crypto.h index 414261eff..90483b7db 100644 --- a/src/node_crypto.h +++ b/src/node_crypto.h @@ -274,12 +274,6 @@ class Connection : public SSLWrap<Connection>, public WeakObject { void ClearError(); void SetShutdownFlags(); - static Connection* Unwrap(v8::Local<v8::Object> object) { - Connection* conn = UnwrapObject<Connection>(object); - conn->ClearError(); - return conn; - } - Connection(Environment* env, v8::Local<v8::Object> wrap, SecureContext* sc, |
