Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Fix deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
syoung-smallwisdom committed Aug 11, 2021
1 parent 531fbb9 commit 7cdbc99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/JsonModel/ResultData/AnswerResult.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 7cdbc99

Please sign in to comment.