Skip to content

Commit f58b32c

Browse files
gengjiawenjoyeecheung
authored andcommitted
build: fix env.h for cpp20
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>
1 parent 34c2876 commit f58b32c

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)