Skip to content

Commit

Permalink
Fixed Swift 5.5 support
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed May 15, 2022
1 parent ff9409b commit 4e8a738
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Sources/NordicDFU/DataConvertible.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ extension UInt64: UnsafeDataConvertible { }
internal protocol DataContainer: RandomAccessCollection where Self.Index == Int {

subscript(index: Int) -> UInt8 { get }

subscript(range: Range<Int>) -> Slice<Self> { get }


mutating func append(_ newElement: UInt8)

mutating func append(_ pointer: UnsafePointer<UInt8>, count: Int)
Expand Down

0 comments on commit 4e8a738

Please sign in to comment.