Skip to content

Commit

Permalink
Remove superfluous guard
Browse files Browse the repository at this point in the history
  • Loading branch information
djones6 committed Feb 23, 2018
1 parent 2184619 commit 0701172
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Sources/KituraNet/IncomingSocketProcessor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down

0 comments on commit 0701172

Please sign in to comment.