react-native-macos/ReactCommon/fabric/element/tests
Valentin Shergin b39c75f20e Fabric: `Element<>` now returns (and accepts) mutable (non const) shared pointers
Summary:
It makes perfect sense because `Builder` builds totally new shadow trees, so those are not sealed or used by anyone yet.
Assigning it to const shared pointer will do logical sealing (and it does not requires const-cast).
Fewer const-casts in the code, fewer bugs.

Changelog: [Internal] Fabric-specific internal change.

Reviewed By: sammy-SC

Differential Revision: D19596284

fbshipit-source-id: 75d1c706034958ba7e4bc80a68af75a57c46eb6f
2020-01-30 19:45:39 -08:00
..
ElementTest.cpp Fabric: `Element<>` now returns (and accepts) mutable (non const) shared pointers 2020-01-30 19:45:39 -08:00