From 91d771249e8245768488a2b22bf2d52d4b6927cd Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Mon, 2 May 2022 21:49:39 -0700 Subject: [PATCH] never mind the comparison is fine --- src/RelationStorage.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/RelationStorage.cs b/src/RelationStorage.cs index 336cc98..9deb5a6 100644 --- a/src/RelationStorage.cs +++ b/src/RelationStorage.cs @@ -182,7 +182,6 @@ namespace MoonTools.ECS { ReadOnlySpan relationBytes = MemoryMarshal.Cast(relations); - // FIXME: incorrect comparison if (relationBytes.Length > state.Relations.Length) { Array.Resize(ref state.Relations, relationBytes.Length);