Skip to content

Commit 545c805

Browse files
committed
Use self to resolve build error
1 parent 21f70c9 commit 545c805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/TSFCASUtilities/LinkedListStream.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public struct LLBLinkedListStreamWriter {
3838
public mutating func append(data: LLBByteBuffer, channel: UInt8, _ ctx: Context) -> LLBFuture<LLBDataID> {
3939
let latestData = (
4040
// Append on the previously cached node, or use nil as sentinel if this is the first write.
41-
latestData?.map { $0 } ?? db.group.next().makeSucceededFuture(nil)
41+
self.latestData?.map { $0 } ?? db.group.next().makeSucceededFuture(nil)
4242
).flatMap { [db, ext] (previousData: (id: LLBDataID, aggregateSize: Int)?) -> LLBFuture<(id: LLBDataID, aggregateSize: Int)> in
4343
db.put(data: data, ctx).flatMap { [db, ext] contentID in
4444

0 commit comments

Comments
 (0)