Skip to content

Commit

Permalink
unique -> shared pointer in Component
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mdvacca authored and facebook-github-bot committed Dec 2, 2022
1 parent 7e17d26 commit fb84e09
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit fb84e09

Please sign in to comment.