Commit 7f9beab
authored
Make
This PR renames `IWICBitmapSourceProtocol` to
`_IWICBitmapSourceProtocol` and makes it `public` in order to silence
warnings generated by swiftlang/swift#86279.
Namely:
```
43 | extension IWICFormatConverter: _AttachableByAddressAsIWICBitmapSource, IWICBitmapSourceProtocol {}
| `- warning: method '_copyAttachableValue(at:)' must be as accessible as its enclosing type because it matches a requirement in protocol '_AttachableByAddressAsIWICBitmapSource'
89 | public static func _copyAttachableValue(at imageAddress: UnsafeMutablePointer<Self>) -> UnsafeMutablePointer<Self> {
| `- note: mark the static method as 'public' to satisfy the requirement
```
### Checklist:
- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.IWICBitmapSourceProtocol public (underscored) to suppress new compiler warning. (#1484)1 parent 6da5baa commit 7f9beab
1 file changed
Lines changed: 12 additions & 12 deletions
File tree
- Sources/Overlays/_Testing_WinSDK/Attachments
Lines changed: 12 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
0 commit comments