From 7cdbc99c7ed11fe8d673c7b44b82ada2eb092c87 Mon Sep 17 00:00:00 2001 From: Shannon Young Date: Wed, 11 Aug 2021 11:29:17 -0700 Subject: [PATCH] Fix deprecation warning --- Sources/JsonModel/ResultData/AnswerResult.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/JsonModel/ResultData/AnswerResult.swift b/Sources/JsonModel/ResultData/AnswerResult.swift index 619d2da..6ca6b05 100644 --- a/Sources/JsonModel/ResultData/AnswerResult.swift +++ b/Sources/JsonModel/ResultData/AnswerResult.swift @@ -38,7 +38,7 @@ import Foundation /// controller to keep replacing the result in the collection or task result that contains the /// value. However, that means that the instance *must* be explicitly copied when using this /// to revisit a question. -public protocol AnswerResult : class, ResultData, AnswerFinder { +public protocol AnswerResult : AnyObject, ResultData, AnswerFinder { /// Optional property for defining additional information about the answer expected for this result. var jsonAnswerType: AnswerType? { get }