From 5604bee3d262006e89b37617c98435e2ca6a2f85 Mon Sep 17 00:00:00 2001 From: Michael Steindorfer Date: Wed, 1 Dec 2021 13:37:31 +0100 Subject: [PATCH] [Capsule] Make `ReturnPayload` binding explicit --- Sources/Capsule/_BitmapIndexedMapNode.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/Capsule/_BitmapIndexedMapNode.swift b/Sources/Capsule/_BitmapIndexedMapNode.swift index 15116ca2..0481b620 100644 --- a/Sources/Capsule/_BitmapIndexedMapNode.swift +++ b/Sources/Capsule/_BitmapIndexedMapNode.swift @@ -14,6 +14,8 @@ fileprivate let initialTrieCapacity = 1 final class BitmapIndexedMapNode: MapNode where Key: Hashable { + typealias ReturnPayload = (key: Key, value: Value) + typealias DataBufferElement = ReturnPayload // `ReturnPayload` or `Any` typealias TrieBufferElement = AnyObject