فهرست منبع

remove `YYDispatchQueuePool` due to dynamic library compile error.

ibireme 9 سال پیش
والد
کامیت
3d31227d58
1فایلهای تغییر یافته به همراه0 افزوده شده و 9 حذف شده
  1. 0 9
      YYCache/YYMemoryCache.m

+ 0 - 9
YYCache/YYMemoryCache.m

@@ -15,19 +15,10 @@
 #import <QuartzCore/QuartzCore.h>
 #import <pthread.h>
 
-#if __has_include("YYDispatchQueuePool.h")
-#import "YYDispatchQueuePool.h"
-#endif
 
-#ifdef YYDispatchQueuePool_h
-static inline dispatch_queue_t YYMemoryCacheGetReleaseQueue() {
-    return YYDispatchQueueGetForQOS(NSQualityOfServiceUtility);
-}
-#else
 static inline dispatch_queue_t YYMemoryCacheGetReleaseQueue() {
     return dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_LOW, 0);
 }
-#endif
 
 /**
  A node in linked map.