Update watchOS availability. (#98)

Motivation:

In a patch where we added some metadata options, we accidentally set the
availability wrong. This is a compile-time error, so we broke watchOS
compilation.

Modifications:

Update the availability of some types on watchOS.

Result:

Users can build on watchOS again.
This commit is contained in:
Cory Benfield 2020-06-19 10:19:47 +01:00 committed by GitHub
parent 9f7dff10ad
commit f9a95e9bbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ extension NIOTSChannelOptions {
/// `NIOTSMetadataOption` accesses the metadata for a given `NWProtocol`.
///
/// This option is only valid with `NIOTSConnectionBootstrap`.
@available(OSX 10.14, iOS 12.0, tvOS 12.0, watchOS 5.0, *)
@available(OSX 10.14, iOS 12.0, tvOS 12.0, watchOS 6.0, *)
public struct NIOTSMetadataOption: ChannelOption, Equatable {
public typealias Value = NWProtocolMetadata