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 danielleadams committed Jan 3, 2023
1 parent 34c2876 commit f58b32c
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 @@ -453,9 +453,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 @@ -519,13 +516,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;
};

/**
Expand Down

0 comments on commit f58b32c

Please sign in to comment.