Skip to content

Commit 0d9dda7

Browse files
authored
try the patch
1 parent 3493a51 commit 0d9dda7

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

deps/v8/include/v8-cppgc.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,14 @@ struct WrapperDescriptor final {
7777
};
7878

7979
struct V8_EXPORT CppHeapCreateParams {
80+
CppHeapCreateParams(
81+
std::vector<std::unique_ptr<cppgc::CustomSpaceBase>> custom_spaces,
82+
WrapperDescriptor wrapper_descriptor)
83+
: custom_spaces(std::move(custom_spaces)),
84+
wrapper_descriptor(wrapper_descriptor) {}
85+
CppHeapCreateParams(const CppHeapCreateParams&) = delete;
86+
CppHeapCreateParams& operator=(const CppHeapCreateParams&) = delete;
87+
8088
std::vector<std::unique_ptr<cppgc::CustomSpaceBase>> custom_spaces;
8189
WrapperDescriptor wrapper_descriptor;
8290
/**

0 commit comments

Comments
 (0)