diff --git a/Sources/SwiftWin32/Support/String+UIExtensions.swift b/Sources/SwiftWin32/Support/String+UIExtensions.swift index 85448a93..06f82e92 100644 --- a/Sources/SwiftWin32/Support/String+UIExtensions.swift +++ b/Sources/SwiftWin32/Support/String+UIExtensions.swift @@ -1,14 +1,6 @@ // Copyright © 2019 Saleem Abdulrasool // SPDX-License-Identifier: BSD-3-Clause -extension String { - internal init(from utf16: [UInt16]) { - self = utf16.withUnsafeBufferPointer { - String(decodingCString: $0.baseAddress!, as: UTF16.self) - } - } -} - extension String { public var wide: [UInt16] { return Array(from: self)