forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fabric: Remove designated initializers in Events and Mounting (facebo…
…ok#23441) Summary: This pull request removes the designated initializers in `react/mounting/**` and `react/events/**` to improve portability. A destructor was also defined for `ShadowView` to fix this error: ``` ShadowViewMutation.cpp:14: error: undefined reference to 'facebook::react::ShadowView::~ShadowView()' ShadowViewMutation.cpp:24: error: undefined reference to 'facebook::react::ShadowView::~ShadowView()' clang++: error: linker command failed with exit code 1 (use -v to see invocation) ``` [General] [Changed] - Fabric: Remove designated initializers in Events and Mounting Pull Request resolved: facebook#23441 Differential Revision: D14298890 Pulled By: shergin fbshipit-source-id: f5d8fc6e1f5968b94e8bb3ca0c3f0e81cf892f83
- Loading branch information
1 parent
a2f11cb
commit cf2a289
Showing
3 changed files
with
44 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters