mirror of
https://github.com/mii443/AzooKeyKanaKanjiConverter.git
synced 2025-12-03 02:58:27 +00:00
fix build error in swift 5.10
This commit is contained in:
@@ -54,7 +54,7 @@ struct LOUDS: Sendable {
|
||||
}
|
||||
return flatChar2nodeIndices
|
||||
}
|
||||
self.flatChar2nodeIndicesIndex = consume flatChar2nodeIndicesIndex
|
||||
self.flatChar2nodeIndicesIndex = flatChar2nodeIndicesIndex
|
||||
|
||||
var rankLarge: [UInt32] = .init(repeating: 0, count: bytes.count + 1)
|
||||
rankLarge.withUnsafeMutableBufferPointer { buffer in
|
||||
@@ -62,7 +62,7 @@ struct LOUDS: Sendable {
|
||||
buffer[i + 1] = buffer[i] &+ UInt32(Self.unit &- byte.nonzeroBitCount)
|
||||
}
|
||||
}
|
||||
self.rankLarge = consume rankLarge
|
||||
self.rankLarge = rankLarge
|
||||
}
|
||||
|
||||
/// parentNodeIndex個の0を探索し、その次から1個増えるまでのIndexを返す。
|
||||
|
||||
Reference in New Issue
Block a user