Explorar o código

modified Source.Identifier.current access modifier

will.h %!s(int64=2) %!d(string=hai) anos
pai
achega
bbefdc0478
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Sources/General/ImageSource/Source.swift

+ 1 - 1
Sources/General/ImageSource/Source.swift

@@ -41,7 +41,7 @@ public enum Source {
 
         /// The underlying value type of source identifier.
         public typealias Value = UInt
-        static var current: Value = 0
+        static private(set) var current: Value = 0
         static func next() -> Value {
             current += 1
             return current