diff options
author | gengjiawen <technicalcute@gmail.com> | 2019-01-28 15:20:53 +0300 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-01-31 09:58:01 +0300 |
commit | 0dfd5a55d665ec3d9a37e57e542cf0123574fa5b (patch) | |
tree | 591576c2076cbc3ba32e4534b28e39bb72d425af /src/node.h | |
parent | 43bba407175d87a7a9fab0cd5683840eca0307c3 (diff) |
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>
Diffstat (limited to 'src/node.h')
-rw-r--r-- | src/node.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/node.h b/src/node.h index fbf9128be42..43795e0e391 100644 --- a/src/node.h +++ b/src/node.h @@ -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 |