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 20, 2024
1 parent beeb780 commit d9bdcae
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 d9bdcae

Please sign in to comment.