fix missing constructor parameters

This commit is contained in:
Johannes Weiß committed 2017-05-19 00:03:06 +01:00
1 parent 75a2c0bc49
commit 8fb1162a7e
1 file changed
+4 -4
+4 -4
View File
@@ -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(())
}