mirror of
https://github.com/apple/swift-nio
synced 2026-11-29 05:24:21 +00:00
fix missing constructor parameters
This commit is contained in:
1 parent
75a2c0bc49
commit
8fb1162a7e
1 file changed
+4
-4
@@ -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(())
|
||||
}
|
||||
Reference in new issue
Block a user