Skip to content

Commit 0b014d5

Browse files
gengjiawenaddaleax
authored andcommitted
src: make deleted functions public in node.h
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>
1 parent f5db509 commit 0b014d5

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)