diff --git a/include/cppgc/heap.h b/include/cppgc/heap.h index 02ee12eaba..4a454300bc 100644 --- a/include/cppgc/heap.h +++ b/include/cppgc/heap.h @@ -112,6 +112,10 @@ class V8_EXPORT Heap { * heap through `Heap::Create()`. */ struct HeapOptions { + HeapOptions() = default; + HeapOptions(HeapOptions&&) = default; + HeapOptions(const HeapOptions&) = delete; + /** * Creates reasonable defaults for instantiating a Heap. * diff --git a/include/v8-cppgc.h b/include/v8-cppgc.h index f96709c783..0f18de2b12 100644 --- a/include/v8-cppgc.h +++ b/include/v8-cppgc.h @@ -77,6 +77,11 @@ struct WrapperDescriptor final { }; struct V8_EXPORT CppHeapCreateParams { + CppHeapCreateParams() = default; + CppHeapCreateParams(const CppHeapCreateParams&) = delete; + CppHeapCreateParams(CppHeapCreateParams&&) = default; + CppHeapCreateParams &operator = (const CppHeapCreateParams&) = delete; + std::vector> custom_spaces; WrapperDescriptor wrapper_descriptor; /**