diff --git a/Sources/NIO/ChannelOption.swift b/Sources/NIO/ChannelOption.swift index e85464ad3..584e15293 100644 --- a/Sources/NIO/ChannelOption.swift +++ b/Sources/NIO/ChannelOption.swift @@ -82,8 +82,8 @@ public enum MaxMessagesPerReadOption: ChannelOption { public struct ChannelOptions { public static let Socket = { (level: Int32, name: Int32) -> SocketOption in .const((level, name)) } - public static let Allocator = AllocatorOption.const() - public static let RecvAllocator = RecvAllocatorOption.const() - public static let AutoRead = AutoReadOption.const() - public static let MaxMessagesPerRead = MaxMessagesPerReadOption.const() + public static let Allocator = AllocatorOption.const(()) + public static let RecvAllocator = RecvAllocatorOption.const(()) + public static let AutoRead = AutoReadOption.const(()) + public static let MaxMessagesPerRead = MaxMessagesPerReadOption.const(()) }