[cppgc]: Fix build on msvc
Fixes compilation with msvc 2019 toolchain. See: nodejs/node#37330 (comment) Bug: v8:12661 Change-Id: I7cfd87a3dd531a2e4913d82b743fb8ecdfdb5ed8 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3533019 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/main@{#85087}
This commit is contained in:
parent
419a1c716c
commit
166fd2f38f
@ -77,6 +77,15 @@ 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;
|
||||
|
||||
std::vector<std::unique_ptr<cppgc::CustomSpaceBase>> custom_spaces;
|
||||
WrapperDescriptor wrapper_descriptor;
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user