Skip to content

Commit

Permalink
Mark -[init] w RCT_NOT_IMPLEMENTED
Browse files Browse the repository at this point in the history
Summary: ARTBrush.m doesn't defined init but Clang wants it.

Fix facebook#2590
Closes facebook#2592

Reviewed By: svcscm

Differential Revision: D2656454

Pulled By: nicklockwood

fb-gh-sync-id: c386adfadc30c5a0b642b60d3b7e1991481f1fb9
  • Loading branch information
ide authored and facebook-github-bot-7 committed Nov 14, 2015
1 parent 21bae9b commit 90c8f37
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Libraries/ART/Brushes/ARTBrush.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@

#import "ARTBrush.h"

#import "RCTDefines.h"

@implementation ARTBrush

- (instancetype)initWithArray:(NSArray *)data
{
return [super init];
}

RCT_NOT_IMPLEMENTED(- (instancetype)init)

- (BOOL)applyFillColor:(CGContextRef)context
{
return NO;
Expand Down

0 comments on commit 90c8f37

Please sign in to comment.