Skip to content

Commit 80e31fd

Browse files
gengjiawenjoyeecheung
authored andcommitted
build: fix env.h for cpp20
Co-authored-by: joyeecheung <[email protected]> PR-URL: #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]>
1 parent f625f45 commit 80e31fd

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/env.h

-10
Original file line numberDiff line numberDiff line change
@@ -453,9 +453,6 @@ struct DeserializeRequest {
453453
v8::Global<v8::Object> holder;
454454
int index;
455455
InternalFieldInfoBase* info = nullptr; // Owned by the request
456-
457-
// Move constructor
458-
DeserializeRequest(DeserializeRequest&& other) = default;
459456
};
460457

461458
struct EnvSerializeInfo {
@@ -519,13 +516,6 @@ struct SnapshotData {
519516
static bool FromBlob(SnapshotData* out, FILE* in);
520517

521518
~SnapshotData();
522-
523-
SnapshotData(const SnapshotData&) = delete;
524-
SnapshotData& operator=(const SnapshotData&) = delete;
525-
SnapshotData(SnapshotData&&) = delete;
526-
SnapshotData& operator=(SnapshotData&&) = delete;
527-
528-
SnapshotData() = default;
529519
};
530520

531521
/**

0 commit comments

Comments
 (0)