Remove the useless init method from MP42Fifo interface and be safer in the implementation

This commit is contained in:
galad87 committed 2015-08-29 11:40:37 +02:00
1 parent fa39cf9f4b
commit b70e19961c
2 files changed
+8 -9

No files matched your search

+1 -2
View File
@@ -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;