@@ -218,7 +218,7 @@ public struct CSetting: Sendable {
218
218
/// - condition: A condition that restricts the application of the build setting.
219
219
@available ( _PackageDescription, introduced: 6.2 )
220
220
public static func treatAllWarnings(
221
- as level: WarningTreatLevel ,
221
+ as level: WarningLevel ,
222
222
_ condition: BuildSettingCondition ? = nil
223
223
) -> CSetting {
224
224
return CSetting (
@@ -243,7 +243,7 @@ public struct CSetting: Sendable {
243
243
@available ( _PackageDescription, introduced: 6.2 )
244
244
public static func treatWarning(
245
245
name: String ,
246
- as level: WarningTreatLevel ,
246
+ as level: WarningLevel ,
247
247
_ condition: BuildSettingCondition ? = nil
248
248
) -> CSetting {
249
249
return CSetting (
@@ -374,7 +374,7 @@ public struct CXXSetting: Sendable {
374
374
/// - condition: A condition that restricts the application of the build setting.
375
375
@available ( _PackageDescription, introduced: 6.2 )
376
376
public static func treatAllWarnings(
377
- as level: WarningTreatLevel ,
377
+ as level: WarningLevel ,
378
378
_ condition: BuildSettingCondition ? = nil
379
379
) -> CXXSetting {
380
380
return CXXSetting (
@@ -399,7 +399,7 @@ public struct CXXSetting: Sendable {
399
399
@available ( _PackageDescription, introduced: 6.2 )
400
400
public static func treatWarning(
401
401
name: String ,
402
- as level: WarningTreatLevel ,
402
+ as level: WarningLevel ,
403
403
_ condition: BuildSettingCondition ? = nil
404
404
) -> CXXSetting {
405
405
return CXXSetting (
@@ -651,7 +651,7 @@ public struct SwiftSetting: Sendable {
651
651
/// - condition: A condition that restricts the application of the build setting.
652
652
@available ( _PackageDescription, introduced: 6.2 )
653
653
public static func treatAllWarnings(
654
- as level: WarningTreatLevel ,
654
+ as level: WarningLevel ,
655
655
_ condition: BuildSettingCondition ? = nil
656
656
) -> SwiftSetting {
657
657
return SwiftSetting (
@@ -676,7 +676,7 @@ public struct SwiftSetting: Sendable {
676
676
@available ( _PackageDescription, introduced: 6.2 )
677
677
public static func treatWarning(
678
678
name: String ,
679
- as level: WarningTreatLevel ,
679
+ as level: WarningLevel ,
680
680
_ condition: BuildSettingCondition ? = nil
681
681
) -> SwiftSetting {
682
682
return SwiftSetting (
0 commit comments