Skip to content

Commit b91b9aa

Browse files
committed
Address compatibility for the older compiler
1 parent 33856f9 commit b91b9aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/FoundationEssentials/Data/Data.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,9 @@ internal final class __DataStorage : @unchecked Sendable {
605605

606606
@frozen
607607
@available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
608+
#if compiler(>=6.2)
608609
@_addressableForDependencies
610+
#endif
609611
public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
610612

611613
public typealias Index = Int

0 commit comments

Comments
 (0)