Remove deprecated RCTAssert aliases

Reviewed By: fromcelticpark

Differential Revision: D5380783

fbshipit-source-id: 790d7e1bc6d99411ecc471df88f7b1f31680e7a0
This commit is contained in:
Pieter De Baets 2017-07-07 12:11:09 -07:00 committed by Facebook Github Bot
parent 8548ca09f1
commit 20224b74a4

View File

@ -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