Skip to content

Commit cf69092

Browse files
committed
Explicitly specify the WinSDK module to work around the _GUID clang module problem
1 parent 0c5e481 commit cf69092

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ extension AttachableImageFormat {
238238
/// @Metadata {
239239
/// @Available(Swift, introduced: 6.3)
240240
/// }
241-
public var encoderCLSID: CLSID {
241+
public var encoderCLSID: WinSDK.CLSID {
242242
switch kind {
243243
case .png:
244244
CLSID_WICPngEncoder
@@ -270,7 +270,7 @@ extension AttachableImageFormat {
270270
/// @Metadata {
271271
/// @Available(Swift, introduced: 6.3)
272272
/// }
273-
public init(encoderCLSID: CLSID, encodingQuality: Float = 1.0) {
273+
public init(encoderCLSID: WinSDK.CLSID, encodingQuality: Float = 1.0) {
274274
if encoderCLSID == CLSID_WICPngEncoder {
275275
self = .png
276276
} else if encoderCLSID == CLSID_WICJpegEncoder {

0 commit comments

Comments
 (0)