From 8fb1162a7ee700fbe4cd5a15eb147405d5c52e2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Wei=C3=9F?= Date: Fri, 19 May 2017 00:03:06 +0100 Subject: [PATCH] fix missing constructor parameters --- Sources/NIO/ChannelOption.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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(()) }