[*] Fixed MSVC cannot initialize CppHeapCreateParams with an initializer list. Furthermore, CppHeapCreateParams is improperly exported. Specifying visibility confuses MSVC. There are no implemented member symbols for visibility to make sense.
This commit is contained in:
parent
c9b547e373
commit
4c7c7d1a24
@ -76,12 +76,15 @@ struct WrapperDescriptor final {
|
||||
uint16_t embedder_id_for_garbage_collected;
|
||||
};
|
||||
|
||||
struct V8_EXPORT CppHeapCreateParams {
|
||||
struct CppHeapCreateParams {
|
||||
CppHeapCreateParams() = default;
|
||||
CppHeapCreateParams(const CppHeapCreateParams&) = delete;
|
||||
CppHeapCreateParams(CppHeapCreateParams&&) = default;
|
||||
CppHeapCreateParams &operator = (const CppHeapCreateParams&) = delete;
|
||||
|
||||
inline CppHeapCreateParams(WrapperDescriptor wrapper_descriptor)
|
||||
: wrapper_descriptor(wrapper_descriptor) {}
|
||||
|
||||
std::vector<std::unique_ptr<cppgc::CustomSpaceBase>> custom_spaces;
|
||||
WrapperDescriptor wrapper_descriptor;
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user