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

Commit

Permalink
Merge pull request #10 from Sage-Bionetworks/fix-warning
Browse files Browse the repository at this point in the history
Fix deprecation warning
  • Loading branch information
syoung-smallwisdom authored Aug 11, 2021
2 parents 531fbb9 + 7cdbc99 commit 3bb51b5
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 3bb51b5

Please sign in to comment.