From a58837b4d5d47fb106e5238c1910abe89d6391fc Mon Sep 17 00:00:00 2001 From: Jiawen Geng Date: Mon, 21 Nov 2022 17:25:42 +0800 Subject: [PATCH] build: fix env.h for cpp20 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: joyeecheung PR-URL: https://github.com/nodejs/node/pull/45516 Reviewed-By: Ben Noordhuis Reviewed-By: Yagiz Nizipli Reviewed-By: Tobias Nießen Reviewed-By: James M Snell Reviewed-By: Rafael Gonzaga Reviewed-By: Darshan Sen --- src/env.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/env.h b/src/env.h index 13003c9928e4f2..a65b37d2e13397 100644 --- a/src/env.h +++ b/src/env.h @@ -453,9 +453,6 @@ struct DeserializeRequest { v8::Global holder; int index; InternalFieldInfoBase* info = nullptr; // Owned by the request - - // Move constructor - DeserializeRequest(DeserializeRequest&& other) = default; }; struct EnvSerializeInfo { @@ -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; }; /**