Skip to content

Commit

Permalink
build: fix env.h for cpp20
Browse files Browse the repository at this point in the history
Co-authored-by: joyeecheung <[email protected]>
PR-URL: nodejs#45516
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rafael Gonzaga <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
  • Loading branch information
2 people authored and marco-ippolito committed Nov 23, 2022
1 parent 1ad4919 commit 042aafe
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/env.h
Original file line number Diff line number Diff line change
Expand Up @@ -454,9 +454,6 @@ struct DeserializeRequest {
v8::Global<v8::Object> holder;
int index;
InternalFieldInfoBase* info = nullptr; // Owned by the request

// Move constructor
DeserializeRequest(DeserializeRequest&& other) = default;
};

struct EnvSerializeInfo {
Expand Down Expand Up @@ -520,13 +517,6 @@ struct SnapshotData {
static bool FromBlob(SnapshotData* out, FILE* in);

~SnapshotData();

SnapshotData(const SnapshotData&) = delete;
SnapshotData& operator=(const SnapshotData&) = delete;
SnapshotData(SnapshotData&&) = delete;
SnapshotData& operator=(SnapshotData&&) = delete;

SnapshotData() = default;
};

void DefaultProcessExitHandlerInternal(Environment* env, ExitCode exit_code);
Expand Down

0 comments on commit 042aafe

Please sign in to comment.