Skip to content

Commit

Permalink
remove retroactive extension of NIOAsyncChannel
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed May 16, 2024
1 parent 6db1fef commit 0d2df0e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Sources/HummingbirdCore/Server/HTTP/HTTP1Channel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,4 @@ public struct HTTP1Channel: ServerChildChannel, HTTPChannelHandler {
}

/// Extend NIOAsyncChannel to ServerChildChannelValue so it can be used in a ServerChildChannel
#if hasFeature(RetroactiveAttribute)
extension NIOAsyncChannel: @retroactive ServerChildChannelValue {}
#else
extension NIOAsyncChannel: ServerChildChannelValue {}
#endif

0 comments on commit 0d2df0e

Please sign in to comment.