From add652e156eb5b7377d527cdbd9082d46d5d458c Mon Sep 17 00:00:00 2001 From: nemissm Date: Wed, 15 Feb 2017 22:54:49 +1000 Subject: [PATCH] SDImageCacheConfig forward declaration changed to import --- SDWebImage/SDImageCache.h | 3 +-- SDWebImage/SDImageCache.m | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/SDWebImage/SDImageCache.h b/SDWebImage/SDImageCache.h index 9ae2eb44..70ee6cea 100644 --- a/SDWebImage/SDImageCache.h +++ b/SDWebImage/SDImageCache.h @@ -8,8 +8,7 @@ #import #import "SDWebImageCompat.h" - -@class SDImageCacheConfig; +#import "SDImageCacheConfig.h" typedef NS_ENUM(NSInteger, SDImageCacheType) { /** diff --git a/SDWebImage/SDImageCache.m b/SDWebImage/SDImageCache.m index acd5ee6a..dccec88d 100644 --- a/SDWebImage/SDImageCache.m +++ b/SDWebImage/SDImageCache.m @@ -13,7 +13,6 @@ #import "UIImage+GIF.h" #import "NSData+ImageContentType.h" #import "NSImage+WebCache.h" -#import "SDImageCacheConfig.h" // See https://github.com/rs/SDWebImage/pull/1141 for discussion @interface AutoPurgeCache : NSCache