Skip to content
This repository has been archived by the owner on Sep 25, 2021. It is now read-only.

Commit

Permalink
Fix Swift compiler warning
Browse files Browse the repository at this point in the history
> `weak` should not be applied to a property declaration in a protocol and will be disallowed in future versions
  • Loading branch information
joemasilotti committed Apr 15, 2018
1 parent ac09406 commit 68ba089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Turbolinks/Visitable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public protocol VisitableDelegate: class {
}

public protocol Visitable: class {
weak var visitableDelegate: VisitableDelegate? { get set }
var visitableDelegate: VisitableDelegate? { get set }
var visitableView: VisitableView! { get }
var visitableURL: URL! { get }
func visitableDidRender()
Expand Down

0 comments on commit 68ba089

Please sign in to comment.