Skip to content

Commit

Permalink
Merge pull request #250 from tosh7/fix-protocol-type
Browse files Browse the repository at this point in the history
 Class is deprecated as a protocol's inheritance
  • Loading branch information
tid-kijyun committed Jul 11, 2021
2 parents 211beb2 + 42774b4 commit 74ea580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Kanna/Kanna.swift
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public protocol XMLElement: SearchableNode {
/**
XMLDocument
*/
public protocol XMLDocument: class, SearchableNode {
public protocol XMLDocument: AnyObject, SearchableNode {
var namespaces: [Namespace] { get }
}

Expand Down

0 comments on commit 74ea580

Please sign in to comment.