diff --git a/src/node_crypto.h b/src/node_crypto.h index 360024be88a883..e0d01887ac9db2 100644 --- a/src/node_crypto.h +++ b/src/node_crypto.h @@ -577,7 +577,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_watchdog.h b/src/node_watchdog.h index 77c2d535340b6f..56d5af322b0523 100644 --- a/src/node_watchdog.h +++ b/src/node_watchdog.h @@ -64,6 +64,7 @@ class SigintWatchdogHelper { int Start(); bool Stop(); + private: SigintWatchdogHelper(); ~SigintWatchdogHelper(); diff --git a/src/node_zlib.cc b/src/node_zlib.cc index 4de9d7cdc27aa0..785c1a9b33fda7 100644 --- a/src/node_zlib.cc +++ b/src/node_zlib.cc @@ -52,7 +52,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 47c1a4999b0a45..dd2da89e4e9d7b 100644 --- a/src/util.h +++ b/src/util.h @@ -286,6 +286,7 @@ class MaybeStackBuffer { if (buf_ != buf_st_) free(buf_); } + private: size_t length_; T* buf_;