From 0b014d5299317a98838294260229109b9d7dd86d Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Mon, 28 Jan 2019 20:20:53 +0800 Subject: [PATCH] src: make deleted functions public in node.h Signed-off-by: gengjiawen PR-URL: https://github.com/nodejs/node/pull/25764 Reviewed-By: Matheus Marchini Reviewed-By: Anna Henningsen Reviewed-By: Refael Ackermann --- src/node.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/node.h b/src/node.h index fbf9128be42429..43795e0e391b9c 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