File tree 2 files changed +2
-2
lines changed
Modules/Sources/WordPressSharedObjC
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
@implementation WPException
4
4
5
- + (BOOL )objcTryBlock : (void (^)(void ))block error : (NSError * __autoreleasing *)outError ;
5
+ + (BOOL )objcTryBlock : (void (NS_NOESCAPE ^)(void ))block error : (NSError * __autoreleasing *)outError ;
6
6
{
7
7
@try {
8
8
if (block) {
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ NS_ASSUME_NONNULL_BEGIN
11
11
@param outError If an exception is raised this variable returns the an error that wraps the exception.
12
12
@return return true if no exception is raised and false otherwise.
13
13
*/
14
- + (BOOL )objcTryBlock : (void (^)(void ))block error : (NSError * __autoreleasing *)outError ;
14
+ + (BOOL )objcTryBlock : (void (NS_NOESCAPE ^)(void ))block error : (NSError * __autoreleasing *)outError ;
15
15
16
16
@end
17
17
You can’t perform that action at this time.
0 commit comments