update project for Swift 5 / Xcode 10.2

This commit is contained in:
John Estropia
2019-03-30 23:36:56 +09:00
parent 0376ac6908
commit 0e254867b6
20 changed files with 30 additions and 28 deletions

View File

@@ -1015,7 +1015,7 @@ extension VersionLock: CustomStringConvertible, CustomDebugStringConvertible, Co
let data = keyValue.value
let count = data.count
let bytes = data.withUnsafeBytes { (pointer: UnsafePointer<HashElement>) in
let bytes = data.withUnsafeBytes { (pointer) in
return (0 ..< (count / MemoryLayout<HashElement>.size))
.map({ "\("0x\(String(pointer[$0], radix: 16, uppercase: false))")" })