From f58b32c22ed21883f7662f04b7d6763667fff3ca 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 2bef325701742c..4d5e72f9f44762 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; }; /**