Skip to content

Commit 11b37b1

Browse files
committed
Revert "Remove workaround for swiftlang/swift#84466"
This reverts commit 1628d2d.
1 parent 1628d2d commit 11b37b1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Sources/Overlays/_Testing_WinSDK/Attachments/AttachableImageFormat+CLSID.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,9 @@ extension AttachableImageFormat {
238238
/// @Metadata {
239239
/// @Available(Swift, introduced: 6.3)
240240
/// }
241+
#if compiler(>=6.3) && !SWT_FIXED_84466
242+
@_spi(_)
243+
#endif
241244
public var encoderCLSID: CLSID {
242245
switch kind {
243246
case .png:
@@ -270,6 +273,9 @@ extension AttachableImageFormat {
270273
/// @Metadata {
271274
/// @Available(Swift, introduced: 6.3)
272275
/// }
276+
#if compiler(>=6.3) && !SWT_FIXED_84466
277+
@_spi(_)
278+
#endif
273279
public init(encoderCLSID: CLSID, encodingQuality: Float = 1.0) {
274280
if encoderCLSID == CLSID_WICPngEncoder {
275281
self = .png

0 commit comments

Comments
 (0)