Skip to content

Commit 84402bc

Browse files
committed
Fix a warning about deprecated class keyword in BitReader protocol
1 parent c490c48 commit 84402bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/BitReader.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import Foundation
77

88
/// A type that contains functions for reading `Data` bit-by-bit and byte-by-byte.
9-
public protocol BitReader: class {
9+
public protocol BitReader: AnyObject {
1010

1111
/// True, if reader's BIT pointer is aligned with the BYTE border.
1212
var isAligned: Bool { get }

0 commit comments

Comments
 (0)