Skip to content

Commit 6f20e8c

Browse files
committed
src: make deleted functions public in node.h
Signed-off-by: gengjiawen <technicalcute@gmail.com>
1 parent 4814987 commit 6f20e8c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/node.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -653,14 +653,14 @@ class NODE_EXTERN CallbackScope {
653653
async_context asyncContext);
654654
~CallbackScope();
655655

656-
private:
657-
InternalCallbackScope* private_;
658-
v8::TryCatch try_catch_;
659-
660656
void operator=(const CallbackScope&) = delete;
661657
void operator=(CallbackScope&&) = delete;
662658
CallbackScope(const CallbackScope&) = delete;
663659
CallbackScope(CallbackScope&&) = delete;
660+
661+
private:
662+
InternalCallbackScope* private_;
663+
v8::TryCatch try_catch_;
664664
};
665665

666666
/* An API specific to emit before/after callbacks is unnecessary because

0 commit comments

Comments
 (0)