mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
unique -> shared pointer in Component
Summary: Refactor unique -> shared pointer in Component. This will be necessary in the next diffs of the stack changelog: [intenal] internal Differential Revision: D41629759 fbshipit-source-id: 335161c350692e25ac3443bd19675a89f9df60c4
This commit is contained in:
committed by
Facebook GitHub Bot
parent
7e17d26060
commit
fb84e092cf
@@ -21,7 +21,7 @@ class ComponentManager {
|
||||
Tag tag,
|
||||
Props::Shared initialProps) = 0;
|
||||
|
||||
virtual std::unique_ptr<Component> createComponent(Tag tag) = 0;
|
||||
virtual std::shared_ptr<Component> createComponent(Tag tag) = 0;
|
||||
|
||||
virtual ~ComponentManager() = default;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user