From 7bb9cbad57f0cc170bd900e8fd910f17795b4bf9 Mon Sep 17 00:00:00 2001 From: Michael Steindorfer Date: Wed, 1 Dec 2021 13:10:41 +0100 Subject: [PATCH] [Capsule] Ensure object layout of `Node` is class reference --- Sources/Capsule/_Common.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Capsule/_Common.swift b/Sources/Capsule/_Common.swift index 0b5e80d1..263bef8a 100644 --- a/Sources/Capsule/_Common.swift +++ b/Sources/Capsule/_Common.swift @@ -105,7 +105,7 @@ extension SizePredicate { } } -protocol Node { +protocol Node: AnyObject { associatedtype ReturnPayload associatedtype ReturnBitmapIndexedNode: Node associatedtype ReturnHashCollisionNode: Node