Skip to content

Commit

Permalink
Remove the reset method from CKTreeNodeWithChildren
Browse files Browse the repository at this point in the history
Summary: As we don't reset it anymore in `CKRenderWithSizeSpecComponent` we don't need it.

Reviewed By: kevin0571

Differential Revision: D9913704

fbshipit-source-id: 52cfdf0a31aa4d465ae7936edc6dc786600287a7
  • Loading branch information
kfirapps authored and facebook-github-bot committed Sep 18, 2018
1 parent 907a5d0 commit 9cdfd69
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions ComponentKit/Core/ComponentTree/CKTreeNodeWithChildren.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,4 @@

@interface CKTreeNodeWithChildren : CKTreeNode <CKTreeNodeWithChildrenProtocol>

- (void)reset;

@end
5 changes: 0 additions & 5 deletions ComponentKit/Core/ComponentTree/CKTreeNodeWithChildren.mm
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,4 @@ - (void)setChild:(CKTreeNode *)child forComponentKey:(const CKTreeNodeComponentK
_children[componentKey] = child;
}

- (void)reset {
_classTypeIdentifier.clear();
_children.clear();
}

@end

0 comments on commit 9cdfd69

Please sign in to comment.