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>
  • Loading branch information
gengjiawen committed Jan 29, 2019
1 parent 4814987 commit 6f20e8c
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 6f20e8c

Please sign in to comment.