From 48f4e2978f3f0d5475d2b6773e98775c06951f4e Mon Sep 17 00:00:00 2001 From: David Nadoba Date: Tue, 21 Jun 2022 10:33:04 +0200 Subject: [PATCH] Adopt `Sendable` in `NIOFoundationCompat` (#2203) --- Sources/NIOFoundationCompat/ByteBuffer-foundation.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/NIOFoundationCompat/ByteBuffer-foundation.swift b/Sources/NIOFoundationCompat/ByteBuffer-foundation.swift index 46cd0057d..0b8aa3fd4 100644 --- a/Sources/NIOFoundationCompat/ByteBuffer-foundation.swift +++ b/Sources/NIOFoundationCompat/ByteBuffer-foundation.swift @@ -39,7 +39,7 @@ public enum ByteBufferFoundationError: Error { extension ByteBuffer { /// Controls how bytes are transferred between `ByteBuffer` and other storage types. - public enum ByteTransferStrategy { + public enum ByteTransferStrategy: NIOSendable { /// Force a copy of the bytes. case copy