From 9d0adadafce49c67afd51af776169a8b26c9705a Mon Sep 17 00:00:00 2001 From: "Mr. Ming" Date: Fri, 14 May 2021 11:41:39 +0800 Subject: [PATCH] Fix warning about `class` (#714) --- Sources/LayoutConstraintItem.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/LayoutConstraintItem.swift b/Sources/LayoutConstraintItem.swift index a59de6b..9b61d18 100644 --- a/Sources/LayoutConstraintItem.swift +++ b/Sources/LayoutConstraintItem.swift @@ -28,7 +28,7 @@ #endif -public protocol LayoutConstraintItem: class { +public protocol LayoutConstraintItem: AnyObject { } @available(iOS 9.0, OSX 10.11, *)