From 070117299a1bd3a5a1960d1feec68dba88315d9e Mon Sep 17 00:00:00 2001 From: David Jones Date: Fri, 23 Feb 2018 15:38:43 +0000 Subject: [PATCH] Remove superfluous guard --- Sources/KituraNet/IncomingSocketProcessor.swift | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Sources/KituraNet/IncomingSocketProcessor.swift b/Sources/KituraNet/IncomingSocketProcessor.swift index 531dc43..d1abcf2 100644 --- a/Sources/KituraNet/IncomingSocketProcessor.swift +++ b/Sources/KituraNet/IncomingSocketProcessor.swift @@ -29,11 +29,7 @@ public protocol IncomingSocketProcessor: class { /// A back reference to the `IncomingSocketHandler` processing the socket that /// this `IncomingDataProcessor` is processing. - #if swift(>=4.1) - var handler: IncomingSocketHandler? { get set } - #else - weak var handler: IncomingSocketHandler? { get set } - #endif + var handler: IncomingSocketHandler? { get set } /// Process data read from the socket. ///