Remove the useless init method from MP42Fifo interface and be safer in the implementation
This commit is contained in:
1 parent
fa39cf9f4b
commit
b70e19961c
2 files changed
+8
-9
No files matched your search
+1
-2
@@ -26,8 +26,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
dispatch_semaphore_t _empty;
|
||||
}
|
||||
|
||||
- (instancetype)init;
|
||||
- (instancetype)initWithCapacity:(NSUInteger)numItems NS_DESIGNATED_INITIALIZER;
|
||||
- (instancetype)initWithCapacity:(NSUInteger)capacity NS_DESIGNATED_INITIALIZER;
|
||||
|
||||
- (void)enqueue:(ObjectType)item;
|
||||
- (nullable ObjectType)deque NS_RETURNS_RETAINED;
|
||||
|
||||
Reference in new issue
Block a user