From 81efe2419b012c792f18de2bb9be9738d5a27ac9 Mon Sep 17 00:00:00 2001 From: MahdiBM Date: Mon, 27 Nov 2023 21:44:31 +0330 Subject: [PATCH] remove some @preconcurrency --- .../OpenAPIURLSession/URLSessionTransport.swift | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Sources/OpenAPIURLSession/URLSessionTransport.swift b/Sources/OpenAPIURLSession/URLSessionTransport.swift index aaf5bda..531c967 100644 --- a/Sources/OpenAPIURLSession/URLSessionTransport.swift +++ b/Sources/OpenAPIURLSession/URLSessionTransport.swift @@ -17,15 +17,15 @@ import HTTPTypes import Foundation #else @preconcurrency import struct Foundation.URL -@preconcurrency import struct Foundation.URLComponents -@preconcurrency import struct Foundation.Data -@preconcurrency import protocol Foundation.LocalizedError -@preconcurrency import class Foundation.FileHandle +import struct Foundation.URLComponents +import struct Foundation.Data +import protocol Foundation.LocalizedError +import class Foundation.FileHandle #if canImport(FoundationNetworking) @preconcurrency import struct FoundationNetworking.URLRequest -@preconcurrency import class FoundationNetworking.URLSession -@preconcurrency import class FoundationNetworking.URLResponse -@preconcurrency import class FoundationNetworking.HTTPURLResponse +import class FoundationNetworking.URLSession +import class FoundationNetworking.URLResponse +import class FoundationNetworking.HTTPURLResponse #endif #endif