From 7c6410275fbbc6ade5ae9b15665a9fa718a1d8b3 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Fri, 2 Dec 2022 23:51:54 -0800 Subject: [PATCH] remove unnecessary method --- src/ComponentDepot.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/ComponentDepot.cs b/src/ComponentDepot.cs index 8c1c4e9..e0a4618 100644 --- a/src/ComponentDepot.cs +++ b/src/ComponentDepot.cs @@ -25,12 +25,6 @@ namespace MoonTools.ECS storages[index] = new ComponentStorage(); } - // FIXME: is this necessary? - private ComponentStorage Lookup(Type type) - { - return storages[ComponentTypeIndices.GetIndex(type)]; - } - [MethodImpl(MethodImplOptions.AggressiveInlining)] private ComponentStorage Lookup() where TComponent : unmanaged {