Skip to content

Commit 17cdd67

Browse files
authored
Updates for depricated keyword class (#11)
1 parent 33222a7 commit 17cdd67

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Sources/QLoop/Iterating/QLoopIterating.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
public protocol QLoopIterating: class {
1+
public protocol QLoopIterating: AnyObject {
22
@discardableResult
33
func iterate(_ loop: QLoopIterable) -> Bool
44
}

Sources/QLoop/QLAnchor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Dispatch
22

3-
public protocol AnyAnchor: class {
3+
public protocol AnyAnchor: AnyObject {
44
var inputSegment: AnySegment? { get }
55
}
66

Sources/QLoop/Segment/AnySegment.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
public protocol AnySegment: class {
1+
public protocol AnySegment: AnyObject {
22
var inputAnchor: AnyAnchor { get }
33
var outputAnchor: AnyAnchor? { get }
44
var operationIds: [AnyHashable] { get }

0 commit comments

Comments
 (0)