From 1489d1273573508f1d26bfd48da49ba73d77ec21 Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Wed, 1 May 2019 13:25:59 +0800 Subject: [PATCH] src: make deleted function public in node_main_instance.h PR-URL: https://github.com/nodejs/node/pull/27509 Reviewed-By: Ben Noordhuis Reviewed-By: Anna Henningsen --- src/node_main_instance.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/node_main_instance.h b/src/node_main_instance.h index 2719b49e976ff6..04ad277b8e825b 100644 --- a/src/node_main_instance.h +++ b/src/node_main_instance.h @@ -65,13 +65,12 @@ class NodeMainInstance { static v8::StartupData* GetEmbeddedSnapshotBlob(); static const size_t kNodeContextIndex = 0; - - private: NodeMainInstance(const NodeMainInstance&) = delete; NodeMainInstance& operator=(const NodeMainInstance&) = delete; NodeMainInstance(NodeMainInstance&&) = delete; NodeMainInstance& operator=(NodeMainInstance&&) = delete; + private: NodeMainInstance(v8::Isolate* isolate, uv_loop_t* event_loop, MultiIsolatePlatform* platform,