Просмотр исходного кода

Fix possible invalid redeclaration error

Christopher Fonseka 8 лет назад
Родитель
Сommit
0f4303ab3b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Sources/AnimatedImageView.swift

+ 1 - 1
Sources/AnimatedImageView.swift

@@ -363,7 +363,7 @@ extension Kingfisher where Base: CGImageSource {
 }
 
 extension Array {
-    subscript(safe index: Int) -> Element? {
+    fileprivate subscript(safe index: Int) -> Element? {
         return indices ~= index ? self[index] : nil
     }
 }