Skip to content

Commit

Permalink
Remove deprecated RCTAssert aliases
Browse files Browse the repository at this point in the history
Reviewed By: fromcelticpark

Differential Revision: D5380783

fbshipit-source-id: 790d7e1bc6d99411ecc471df88f7b1f31680e7a0
  • Loading branch information
javache authored and facebook-github-bot committed Jul 7, 2017
1 parent 8548ca0 commit 20224b7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions React/Base/RCTAssert.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,6 @@ typedef void (^RCTFatalHandler)(NSError *error);
#define RCTAssertNotMainQueue() RCTAssert(!RCTIsMainQueue(), \
@"This function must not be called on the main queue")

/**
* Deprecated, do not use
*/
#define RCTAssertMainThread() RCTAssertMainQueue()
#define RCTAssertNotMainThread() RCTAssertNotMainQueue()

/**
* These methods get and set the current assert function called by the RCTAssert
* macros. You can use these to replace the standard behavior with custom assert
Expand Down

0 comments on commit 20224b7

Please sign in to comment.