Skip to content

Commit

Permalink
src: make deleted function public in node_main_instance.h
Browse files Browse the repository at this point in the history
PR-URL: #27509
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
gengjiawen authored and targos committed May 6, 2019
1 parent e5fdc30 commit 1489d12
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/node_main_instance.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1489d12

Please sign in to comment.