From a11395433dbd1880a1bb5b84078a36ab0804a623 Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Sun, 21 Feb 2021 18:49:48 -0800 Subject: [PATCH] [cppgc]: Fix build on msvc Fixes compilation with msvc 2019 toolchain. See: https://github.com/nodejs/node/pull/37330#issuecomment-783000812 Change-Id: I3b658d9ef49889c0a0467a1146e8d16b50fca65d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2711152 Reviewed-by: Michael Lippautz Commit-Queue: Michael Lippautz Cr-Commit-Position: refs/heads/master@{#72917} --- include/v8-cppgc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/v8-cppgc.h b/include/v8-cppgc.h index 414cee5d9378..2c22193046e4 100644 --- a/include/v8-cppgc.h +++ b/include/v8-cppgc.h @@ -72,6 +72,9 @@ struct WrapperDescriptor final { }; struct V8_EXPORT CppHeapCreateParams { + CppHeapCreateParams(const CppHeapCreateParams&) = delete; + CppHeapCreateParams& operator=(const CppHeapCreateParams&) = delete; + std::vector> custom_spaces; WrapperDescriptor wrapper_descriptor; };