Skip to content

Commit d600b8e

Browse files
stevebrambillaadamtharani
authored andcommitted
Make operation initializers available for Xcode 12.5
1 parent 10376bf commit d600b8e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/objc/utils/MCOOperation.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,13 @@
3737
- (void) cancel;
3838

3939
#pragma mark - Unavailable initializers
40+
41+
// MC: We subclass MCOOperation in our test suite, so we need these initializers to be available:
42+
4043
/** Do not invoke this directly. */
41-
- (instancetype) init NS_UNAVAILABLE;
44+
//- (instancetype) init NS_UNAVAILABLE;
4245
/** Do not invoke this directly. */
43-
+ (instancetype) new NS_UNAVAILABLE;
46+
//+ (instancetype) new NS_UNAVAILABLE;
4447

4548
@end
4649

0 commit comments

Comments
 (0)