From 68ba089660ecdeeaf96b955286fa76666a61d91f Mon Sep 17 00:00:00 2001 From: Joe Masilotti Date: Sun, 15 Apr 2018 15:59:06 +0200 Subject: [PATCH] Fix Swift compiler warning > `weak` should not be applied to a property declaration in a protocol and will be disallowed in future versions --- Turbolinks/Visitable.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Turbolinks/Visitable.swift b/Turbolinks/Visitable.swift index 048e706..4923f1e 100644 --- a/Turbolinks/Visitable.swift +++ b/Turbolinks/Visitable.swift @@ -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()