Skip to content

Commit c0d1535

Browse files
committed
[stdlib] Add *another* missing check for ObjC runtime
1 parent eb51801 commit c0d1535

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/public/core/SetStorage.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ extension _SetStorage {
307307
return allocate(scale: scale, age: nil)
308308
}
309309

310+
#if _runtime(_ObjC)
310311
@usableFromInline
311312
@_effects(releasenone)
312313
static internal func convert(
@@ -317,6 +318,7 @@ extension _SetStorage {
317318
let age = _HashTable.age(for: cocoa.object)
318319
return allocate(scale: scale, age: age)
319320
}
321+
#endif
320322

321323
static internal func allocate(
322324
scale: Int8,

0 commit comments

Comments
 (0)