Browse Source

Fix possible invalid redeclaration error

Christopher Fonseka 8 years ago
parent
commit
0f4303ab3b
1 changed files with 1 additions and 1 deletions
  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
     }
 }