Skip to content

Commit

Permalink
[cppgc]: Fix build on msvc
Browse files Browse the repository at this point in the history
Fixes compilation with msvc 2019 toolchain.

See: nodejs/node#37330 (comment)
Change-Id: I3b658d9ef49889c0a0467a1146e8d16b50fca65d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2711152
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#72917}
  • Loading branch information
gengjiawen authored and Commit Bot committed Feb 22, 2021
1 parent 74f43b5 commit a113954
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/v8-cppgc.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ struct WrapperDescriptor final {
};

struct V8_EXPORT CppHeapCreateParams {
CppHeapCreateParams(const CppHeapCreateParams&) = delete;
CppHeapCreateParams& operator=(const CppHeapCreateParams&) = delete;

std::vector<std::unique_ptr<cppgc::CustomSpaceBase>> custom_spaces;
WrapperDescriptor wrapper_descriptor;
};
Expand Down

0 comments on commit a113954

Please sign in to comment.