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 <joyeec9h3@gmail.com>
PR-URL: #45516
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
  • Loading branch information
2 people authored and ruyadorno committed Nov 21, 2022
1 parent 19d8493 commit 5c9b2a7
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 5c9b2a7

Please sign in to comment.