Skip to content

Commit

Permalink
return init method
Browse files Browse the repository at this point in the history
  • Loading branch information
Sega-Zero committed Apr 15, 2016
1 parent 13b403f commit e086ab3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions FastImageCache/FastImageCache/FastImageCache/FICImageTable.m
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@ - (instancetype)initWithFormat:(FICImageFormat *)imageFormat imageCache:(FICImag
return self;
}

- (instancetype)init {
return [self initWithFormat:nil imageCache:nil];
}

- (void)dealloc {
if (_fileDescriptor >= 0) {
close(_fileDescriptor);
Expand Down

0 comments on commit e086ab3

Please sign in to comment.