Skip to content

Commit 5c22645

Browse files
author
Ma Jun
committed
use AnyObject instead of class
1 parent 6134a64 commit 5c22645

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

HasDisposeBag.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import ObjectiveC
55
fileprivate var disposeBagContext: UInt8 = 0
66

77
/// each HasDisposeBag offers a unique RxSwift DisposeBag instance
8-
public protocol HasDisposeBag: class {
8+
public protocol HasDisposeBag: AnyObject {
99

1010
/// a unique RxSwift DisposeBag instance
1111
var disposeBag: DisposeBag { get set }

0 commit comments

Comments
 (0)