From 2b0574ca99cec8592de286a2e7e382deda2c67ef Mon Sep 17 00:00:00 2001 From: Michael Steindorfer Date: Tue, 22 Jun 2021 11:39:11 +0200 Subject: [PATCH] [Capsule] Fix invariant references --- Sources/Capsule/_BitmapIndexedMapNode.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Capsule/_BitmapIndexedMapNode.swift b/Sources/Capsule/_BitmapIndexedMapNode.swift index 2c48d14d..fe8be380 100644 --- a/Sources/Capsule/_BitmapIndexedMapNode.swift +++ b/Sources/Capsule/_BitmapIndexedMapNode.swift @@ -497,7 +497,7 @@ final class BitmapIndexedMapNode: ManagedBuffer, Ma dataRange.startIndex[idx] = (key, newValue) } - assert(dst.contentInvariant) + assert(dst.invariant) return dst } @@ -525,7 +525,7 @@ final class BitmapIndexedMapNode: ManagedBuffer, Ma trieRange.startIndex[idx] = newNode as AnyObject } - assert(dst.contentInvariant) + assert(dst.invariant) return dst }