From d9bdcaea991fe8fe1e8a4837a4a43dc5911770c1 Mon Sep 17 00:00:00 2001 From: Adam Fowler Date: Thu, 16 May 2024 16:20:06 +0100 Subject: [PATCH] remove retroactive extension of NIOAsyncChannel --- Sources/HummingbirdCore/Server/HTTP/HTTP1Channel.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Sources/HummingbirdCore/Server/HTTP/HTTP1Channel.swift b/Sources/HummingbirdCore/Server/HTTP/HTTP1Channel.swift index e802476b6..9642cd34e 100644 --- a/Sources/HummingbirdCore/Server/HTTP/HTTP1Channel.swift +++ b/Sources/HummingbirdCore/Server/HTTP/HTTP1Channel.swift @@ -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