From 4d2d05b4458d4444cd1139fec27e2f301eb62bc3 Mon Sep 17 00:00:00 2001 From: Andrew Naylor Date: Thu, 24 Mar 2016 10:34:29 +0000 Subject: [PATCH] Fix the typealias deprecation warning --- Box/BoxType.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Box/BoxType.swift b/Box/BoxType.swift index 78a08d0..db6109a 100644 --- a/Box/BoxType.swift +++ b/Box/BoxType.swift @@ -5,7 +5,7 @@ /// The type conformed to by all boxes. public protocol BoxType { /// The type of the wrapped value. - typealias Value + associatedtype Value /// Initializes an intance of the type with a value. init(_ value: Value)