From 0d9dda7d65ea08fe7a297380bbbfecd75a9be0b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Sat, 31 Dec 2022 08:25:44 +0100 Subject: [PATCH] try the patch --- deps/v8/include/v8-cppgc.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deps/v8/include/v8-cppgc.h b/deps/v8/include/v8-cppgc.h index 139af8fdac26c3..a22cd4a6bb2b69 100644 --- a/deps/v8/include/v8-cppgc.h +++ b/deps/v8/include/v8-cppgc.h @@ -77,6 +77,14 @@ struct WrapperDescriptor final { }; struct V8_EXPORT CppHeapCreateParams { + CppHeapCreateParams( + std::vector> custom_spaces, + WrapperDescriptor wrapper_descriptor) + : custom_spaces(std::move(custom_spaces)), + wrapper_descriptor(wrapper_descriptor) {} + CppHeapCreateParams(const CppHeapCreateParams&) = delete; + CppHeapCreateParams& operator=(const CppHeapCreateParams&) = delete; + std::vector> custom_spaces; WrapperDescriptor wrapper_descriptor; /**