Explorar el Código

Fix warning about `class` (#714)

Mr. Ming hace 4 años
padre
commit
9d0adadafc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Sources/LayoutConstraintItem.swift

+ 1 - 1
Sources/LayoutConstraintItem.swift

@@ -28,7 +28,7 @@
 #endif
 
 
-public protocol LayoutConstraintItem: class {
+public protocol LayoutConstraintItem: AnyObject {
 }
 
 @available(iOS 9.0, OSX 10.11, *)