Skip to content

Commit

Permalink
Fix New Arch build failing with -std=c++20 (#42138)
Browse files Browse the repository at this point in the history
  • Loading branch information
tido64 authored Jan 6, 2024
1 parent 7c7baad commit b7c1a40
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ namespace react {
// It should be used as infrequently as possible - most props can and should
// be parsed without any context.
struct PropsParserContext {
PropsParserContext(
SurfaceId const surfaceId,
ContextContainer const &contextContainer)
: surfaceId(surfaceId), contextContainer(contextContainer) {}

// Non-copyable
PropsParserContext(const PropsParserContext &) = delete;
PropsParserContext &operator=(const PropsParserContext &) = delete;
Expand Down

0 comments on commit b7c1a40

Please sign in to comment.