From 42774b4ce72ca298cf3d2e44dc639cfe9efdc54d Mon Sep 17 00:00:00 2001 From: tosh7 Date: Sat, 10 Jul 2021 16:08:57 +0900 Subject: [PATCH] change class protocol to AnyObject --- Sources/Kanna/Kanna.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Kanna/Kanna.swift b/Sources/Kanna/Kanna.swift index c02a71a..7d306ae 100755 --- a/Sources/Kanna/Kanna.swift +++ b/Sources/Kanna/Kanna.swift @@ -176,7 +176,7 @@ public protocol XMLElement: SearchableNode { /** XMLDocument */ -public protocol XMLDocument: class, SearchableNode { +public protocol XMLDocument: AnyObject, SearchableNode { var namespaces: [Namespace] { get } }