diff --git a/src/node_crypto.h b/src/node_crypto.h index d9105fd11a..4921ed36e3 100644 --- a/src/node_crypto.h +++ b/src/node_crypto.h @@ -565,7 +565,6 @@ class SignBase : public BaseObject { class Sign : public SignBase { public: - static void Initialize(Environment* env, v8::Local target); Error SignInit(const char* sign_type); diff --git a/src/node_zlib.cc b/src/node_zlib.cc index 15f5884398..3bdeee4e63 100644 --- a/src/node_zlib.cc +++ b/src/node_zlib.cc @@ -50,7 +50,6 @@ void InitZlib(v8::Local target); */ class ZCtx : public AsyncWrap { public: - ZCtx(Environment* env, Local wrap, node_zlib_mode mode) : AsyncWrap(env, wrap, AsyncWrap::PROVIDER_ZLIB), chunk_size_(0), diff --git a/src/util.h b/src/util.h index c71d115e0d..8254bbe971 100644 --- a/src/util.h +++ b/src/util.h @@ -267,6 +267,7 @@ class MaybeStackBuffer { if (buf_ != buf_st_) free(buf_); } + private: size_t length_; T* buf_;