Skip to content

Commit

Permalink
src: make deleted functions public in node.h
Browse files Browse the repository at this point in the history
Signed-off-by: gengjiawen <technicalcute@gmail.com>

PR-URL: #25764
Reviewed-By: Matheus Marchini <mat@mmarchini.me>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Refael Ackermann <refack@gmail.com>
  • Loading branch information
gengjiawen authored and addaleax committed Feb 1, 2019
1 parent f5db509 commit 0b014d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/node.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b014d5

Please sign in to comment.