diff options
Diffstat (limited to 'deps/v8/include/v8-cppgc.h')
-rw-r--r-- | deps/v8/include/v8-cppgc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/v8/include/v8-cppgc.h b/deps/v8/include/v8-cppgc.h index 3a6582cd25..4a457027c9 100644 --- a/deps/v8/include/v8-cppgc.h +++ b/deps/v8/include/v8-cppgc.h @@ -77,6 +77,12 @@ struct WrapperDescriptor final { }; struct V8_EXPORT CppHeapCreateParams { + CppHeapCreateParams( + std::vector<std::unique_ptr<cppgc::CustomSpaceBase>> custom_spaces, + WrapperDescriptor wrapper_descriptor) + : custom_spaces(std::move(custom_spaces)), + wrapper_descriptor(wrapper_descriptor) {} + CppHeapCreateParams(const CppHeapCreateParams&) = delete; CppHeapCreateParams& operator=(const CppHeapCreateParams&) = delete; |