Преглед изворни кода

modified Source.Identifier.current access modifier

will.h пре 2 година
родитељ
комит
bbefdc0478
1 измењених фајлова са 1 додато и 1 уклоњено
  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.
         /// The underlying value type of source identifier.
         public typealias Value = UInt
         public typealias Value = UInt
-        static var current: Value = 0
+        static private(set) var current: Value = 0
         static func next() -> Value {
         static func next() -> Value {
             current += 1
             current += 1
             return current
             return current