src: make deleted functions public in node.h

Signed-off-by: gengjiawen <technicalcute@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/25764
Reviewed-By: Matheus Marchini <mat@mmarchini.me>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Refael Ackermann <refack@gmail.com>
This commit is contained in:
gengjiawen 2019-01-28 20:20:53 +08:00 committed by Daniel Bevenius
parent 43bba40717
commit 0dfd5a55d6

View File

@ -653,14 +653,14 @@ class NODE_EXTERN CallbackScope {
async_context asyncContext);
~CallbackScope();
private:
InternalCallbackScope* private_;
v8::TryCatch try_catch_;
void operator=(const CallbackScope&) = delete;
void operator=(CallbackScope&&) = delete;
CallbackScope(const CallbackScope&) = delete;
CallbackScope(CallbackScope&&) = delete;
private:
InternalCallbackScope* private_;
v8::TryCatch try_catch_;
};
/* An API specific to emit before/after callbacks is unnecessary because