Skip to content

Commit dba8dc8

Browse files
authored
Merge pull request #25 from grandcentrix/fix_warning
Fix warning for deprecated 'class' keyword
2 parents fddf72a + 1930477 commit dba8dc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GCXMulticastDNSKit/Discovery.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public enum DiscoveryError: Int, Error {
9090

9191

9292
/// the protocol used for the delegate
93-
public protocol DiscoveryDelegate: class {
93+
public protocol DiscoveryDelegate: AnyObject {
9494

9595
/// called when a service has been discovered and resolved. Can be called multiple times for a
9696
/// search when more than one matching service is found. Is only called while in search mode.

0 commit comments

Comments
 (0)