From 54e90d6f5a6d2a6c800cf0cf0805c4a7389eb6ae Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Sun, 13 Nov 2022 14:39:53 +0800 Subject: [PATCH] build: fix env.h for cpp20 Co-authored-by: joyeecheung --- src/env.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/env.h b/src/env.h index 3a91a13ddf7973..6c196427c4c0e0 100644 --- a/src/env.h +++ b/src/env.h @@ -481,9 +481,6 @@ struct DeserializeRequest { v8::Global holder; int index; InternalFieldInfoBase* info = nullptr; // Owned by the request - - // Move constructor - DeserializeRequest(DeserializeRequest&& other) = default; }; struct EnvSerializeInfo { @@ -547,13 +544,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; }; void DefaultProcessExitHandlerInternal(Environment* env, ExitCode exit_code);